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

Operation:RLC
Function:Rotate Accumulator Left Through Carry
Syntax:RLC A

InstructionsOpCodeBytesCyclesFlags
RLC A0x3311C

Description: Shifts the bits of the Accumulator to the left. The left-most bit (bit 7) of the Accumulator is loaded into the Carry Flag, and the original Carry Flag is loaded into bit 0 of the Accumulator. This function can be used to quickly multiply a byte by 2.

See Also: RL, RR, RRC, Instruction Set