8-Bit Alu - Nintendo DMG-01 - Game Boy Console Manual

Manual
Table of Contents

Advertisement

3.3.3. 8-Bit ALU

3.3.3. 8-Bit ALU
1. ADD A,n
Description:
Add n to A.
Use with:
n = A,B,C,D,E,H,L,(HL),#
Flags affected:
Z - Set if result is zero.
N - Reset.
H - Set if carry from bit 3.
C - Set if carry from bit 7.
Opcodes:
Instruction
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
Page 80
Parameters
A,A
A,B
A,C
A,D
A,E
A,H
A,L
A,(HL)
A,#
Game Boy
Opcode
Cycles
87
4
80
4
81
4
82
4
83
4
84
4
85
4
86
8
C6
8
TM
CPU Manual
V 1.01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Game boy

Table of Contents