RRC (HL)
Rotate Right with Carry
Operation
Description
The (HL) operand is an 8-bit value at the memory location specified by the contents of the
multibyte register (HL). The CPU manipulates the contents of this memory location, (HL),
by rotating them right one bit position. The CPU next copies the contents of bit 0 into the
Carry Flag and into bit 7 of the memory location, (HL).
Condition Bits Affected\
S
Z
H
P/V
N
C
Attributes
Mnemonic Operand
RRC
RRC.S
RRC.L
UM007714-0908
C
7
(HL)
Set if result is negative; reset otherwise.
Set if result is 0; reset otherwise.
Reset.
Set if parity is even; reset otherwise.
Reset.
Data from bit 0 of the source.
ADL Mode Cycle Opcode (hex)
(HL)
X
(HL)
1
(HL)
0
0
5
CB, 0E
6
52, CB, 0E
6
49, CB, 0E
®
eZ80
CPU
User Manual
319
CPU Instruction Set
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers