Keil™, An ARM® Company

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
CACF0RS1RS0OV P
Bytes1
Cycles1
Encoding
00100011
Operation
RL
An+1 = An WHERE n = 0 TO 6
A0 = A7
Example
RL A