The RLC instruction rotates the eight bits in the accumulator and the one bit in the carry flag left one bit position. Bit 7 of the accumulator is rotated into the carry flag while the original value of the carry flag is rotated into bit 0 of the accumulator. Bit 0 of the accumulator is rotated into bit 1, bit 1 into bit 2, and so on. No other flags are affected by this operation.
Syntax : RLC A
Example : RLC A
Syntax : RLC A
Example : RLC A
- Instruction
- Opcode
- Bytes
- Flags
- RLC A
- 0x33
- 1
- C