Nintendo DMG-01 Manual - Page 84
AND n
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
3.3.3. 8-Bit ALU Game BoyTM CPU Manual 5. AND n Description: Logically AND n with A, result in A. Use with: n = A,B,C,D,E,H,L,(HL),# Flags affected: Z - Set if result is zero. N - Reset. H - Set. C - Reset. Opcodes: Instruction AND AND AND AND AND AND AND AND AND Parameters A B C D E H L (HL) # Opcode A7 A0 A1 A2 A3 A4 A5 A6 E6 Cycles 4 4 4 4 4 4 4 8 8 Page 84 V 1.01
3.3.3. 8-Bit ALU
Game Boy
TM
CPU Manual
5.
AND n
Description:
Logically AND n with A, result in A.
Use with:
n = A,B,C,D,E,H,L,(HL),#
Flags affected:
Z - Set if result is zero.
N - Reset.
H - Set.
C - Reset.
Opcodes:
Instruction
Parameters
Opcode
Cycles
AND
A
A7
4
AND
B
A0
4
AND
C
A1
4
AND
D
A2
4
AND
E
A3
4
AND
H
A4
4
AND
L
A5
4
AND
(HL)
A6
8
AND
#
E6
8
Page 84
V 1.01