Nintendo DMG-01 Manual - Page 101
RLC n
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 101 highlights
Game BoyTM CPU Manual 3.3.6. Rotates & Shifts 5. RLC n Description: Rotate n left. Old bit 7 to Carry flag. Use with: n = A,B,C,D,E,H,L,(HL) Flags affected: Z - Set if result is zero. N - Reset. H - Reset. C - Contains old bit 7 data. Opcodes: Instruction RLC RLC RLC RLC RLC RLC RLC RLC Parameters A B C D E H L (HL) Opcode CB 07 CB 00 CB 01 CB 02 CB 03 CB 04 CB 05 CB 06 Cycles 8 8 8 8 8 8 8 16 by DP Page 101
Game Boy
TM
CPU Manual
3.3.6. Rotates & Shifts
5.
RLC n
Description:
Rotate n left. Old bit 7 to Carry flag.
Use with:
n = A,B,C,D,E,H,L,(HL)
Flags affected:
Z - Set if result is zero.
N - Reset.
H - Reset.
C - Contains old bit 7 data.
Opcodes:
Instruction
Parameters
Opcode
Cycles
RLC
A
CB 07
8
RLC
B
CB 00
8
RLC
C
CB 01
8
RLC
D
CB 02
8
RLC
E
CB 03
8
RLC
H
CB 04
8
RLC
L
CB 05
8
RLC
(HL)
CB 06
16
by DP
Page 101