Keil Logo Arm Logo

8051 Instruction Set Manual

RL

The RL instruction rotates the eight bits in the accumulator left one bit position. Bit 7 of the accumulator is rotated into bit 0, bit 0 into bit 1, bit 1 into bit 2, and so on. No flags are affected by this instruction.

See Also: RLC, RR, RRC

RL A
C AC F0 RS1 RS0 OV   P
Bytes 1
Cycles 1
Encoding
00100011
Operation
RL
An+1 = An WHERE n = 0 TO 6
A0 = A7
Example
RL A

Keil logo

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.