Email: Password: Remember Me | Create Account (Free)
8051/8052 Instruction: RRC

Operation:RRC
Function:Rotate Accumulator Right Through Carry
Syntax:RRC A

InstructionsOpCodeBytesCyclesFlags
RRC A0x1311C

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