/opcodes/rlca

Arithmetic // RLCA, RLA, RRCA, RRA

Description

The contents of the Accumulator (Register A) are rotated left 1 bit position. The sign bit (bit 7) is copied to the Carry flag and also to bit 0. Bit 0 is the least-significant bit.

Example

The Accumulator contains the following data: 76534 2 10 10010 0 00 Upon the execution of an RLCA instruction, the Accumulator and Carry flag contains: C 76534 2 10 1 00001 0 01

Opcodes