Nintendo DMG-01 Manual - Page 80
Bit ALU
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
3.3.3. 8-Bit ALU Game BoyTM CPU Manual 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 Parameters A,A A,B A,C A,D A,E A,H A,L A,(HL) A,# Opcode 87 80 81 82 83 84 85 86 C6 Cycles 4 4 4 4 4 4 4 8 8 Page 80 V 1.01
3.3.3. 8-Bit ALU
Game Boy
TM
CPU Manual
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
Parameters
Opcode
Cycles
ADD
A,A
87
4
ADD
A,B
80
4
ADD
A,C
81
4
ADD
A,D
82
4
ADD
A,E
83
4
ADD
A,H
84
4
ADD
A,L
85
4
ADD
A,(HL)
86
8
ADD
A,#
C6
8
Page 80
V 1.01