rrca

Rotate A right circular

Rotates A right one bit, copying bit 0 to C and to bit 7.

1 byte4 cycles

Used in
SZHP/VNC ––0–0●
  • ● depends on the result
  • 0 always 0
  • – not changed

Forms

  • rrca

    Rotates A right one bit position. Copies bit 0 to the carry flag and to bit 7.

        .org 0x8000
        ld a, 5
        rrca
        halt