RRCAΒΆ
- RRCA
- Rotate Right Circular Accumulator
- Description
- Performs a very fast
RRC A
; the 0th bit ofA
is copied into the carry and into the 7th bit ofA
. - Uses
- Retrieving consecutive bits of a byte in a loop, starting from the right, without affecting the source data (after eight iterations)
- Results
Register/Flag 8-bit A
S
flagNot affected Z
flagNot affected H
flagReset P/V
flagNot affected N
flagReset C
flag0th bit of A
- Allowed Instructions
Instruction Opcode CC (ADL/non-ADL) rra $0F 1F - Notes
- Unlike
RR
, the initial state of the carry flag has no effect on the result of this instruction. - Unlike
RRC A
, this instruction does not meaningfully affect any flags exceptC
.
- Unlike
- See Also
- RLCA, RRA, RRC