Keil Logo

RR

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 A
C AC F0 RS1 RS0 OV   P
Bytes 1
Cycles 1
Encoding
00000011
Operation
RR
An = An+1 where n = 0 to 6
A7 = A0
Example
RR A
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.