/opcodes/rl

Arithmetic // RLC (Rotate Left Circular)

Description

The contents of the m operand are rotated left 1 bit position. The contents of bit 7 are copied to the Carry flag, and the previous contents of the Carry flag are copied to bit 0.

Example

The D Register and the Carry flag contain the following data. C 76534 2 10 0 10010 1 11 Upon the execution of an RL D instruction, the D Register and the Carry flag now contain: C 76534 2 10 1 00011 1 10

Opcodes