Nintendo DMG-01 Manual - Page 103
RRC n
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 103 highlights
Game BoyTM CPU Manual 3.3.6. Rotates & Shifts 7. RRC n Description: Rotate n right. Old bit 0 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 0 data. Opcodes: Instruction RRC RRC RRC RRC RRC RRC RRC RRC Parameters A B C D E H L (HL) Opcode CB 0F CB 08 CB 09 CB 0A CB 0B CB 0C CB 0D CB 0E Cycles 8 8 8 8 8 8 8 16 by DP Page 103
Game Boy
TM
CPU Manual
3.3.6. Rotates & Shifts
7.
RRC n
Description:
Rotate n right. Old bit 0 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 0 data.
Opcodes:
Instruction
Parameters
Opcode
Cycles
RRC
A
CB 0F
8
RRC
B
CB 08
8
RRC
C
CB 09
8
RRC
D
CB 0A
8
RRC
E
CB 0B
8
RRC
H
CB 0C
8
RRC
L
CB 0D
8
RRC
(HL)
CB 0E
16
by DP
Page 103