Operation: | RRC |
Function: | Rotate Accumulator Right Through Carry |
Syntax: | RRC A |
Instructions | OpCode | Bytes | Cycles | Flags |
RRC A | 0x13 | 1 | 1 | C |
Description: Shifts the bits of the Accumulator to the right. The right-most bit (bit 0) of the Accumulator is loaded into the Carry Flag, and the original Carry Flag is loaded into bit 7. This function can be used to quickly divide a byte by 2.
See Also: RL, RLC, RR, Instruction Set