
5-156
Z380
™
USER'S MANUAL
DC-8297-03
ZILOG
RRCA
ROTATE RIGHT CIRCULAR (ACCUMULATOR)
RRCA
Operation: tmp ← A
C ← A(0)
A(7) ← tmp(0)
A(n) ← tmp(n+1) for n = 0 to 6
The contents of the accumulator are rotated right one bit position. Bit 0 of the accumulator
is moved to the bit 7 position and also replaces the Carry flag.
Flags: S: Unaffected
Z: Unaffected
H: Cleared
P: Unaffected
N: Cleared
C: Set if the bit rotated from bit 0 was a 1; cleared otherwise
Addressing Execute
Mode Syntax Instruction Format Time Note
RRCA 00001111 2
Kommentare zu diesen Handbüchern