/opcodes/rla

Arithmetic // RLCA, RLA, RRCA, RRA

Description

The contents of the Accumulator (Register A) are rotated left 1 bit position through the Carry flag. The previous contents of the Carry flag are copied to bit 0. Bit 0 is the leastsignificant bit.

Example

The Accumulator and the Carry flag contains the following data: C 76534 2 10 1 01101 1 10 Upon the execution of an RLA instruction, the Accumulator and the Carry flag contains: C 76534 2 10 0 11110 1 01

Opcodes