/opcodes/rrca

Arithmetic // RLCA, RLA, RRCA, RRA

Description

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

Example

The Accumulator contains the following data. 64532 10 7 0 1 00100 0 Upon the execution of an RRCA instruction, the Accumulator and the Carry flag now contain: C 7 64532 10 1 1 00101 00

Opcodes