eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
318
RRA
Rotate Right–Accumulator
Operation
Description
The CPU manipulates the contents of the accumulator, A, by rotating them right one bit
position. The CPU next copies the contents of bit 0 into the Carry Flag and copies the pre-
vious contents of the Carry Flag into bit 7.
Condition Bits Affected
Attributes
S Not affected.
Z Not affected.
H Reset.
P/V Not affected.
N Reset.
C Data from bit 0 of the accumulator.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
RRA —X 11F