Technical Support
On-Line Manuals
8051 Instruction Set Manual
The RR instruction rotates the eight bits in the accumulator right one bit position. Bit 0 of the accumulator is rotated into bit 7, bit 7 into bit 6, and so on. No flags are affected by this instruction.
See Also: RL, RLC, RRC
RR An = An+1 where n = 0 to 6 A7 = A0
RR A