
5-146
Z380
™
USER'S MANUAL
DC-8297-03
ZILOG
RLA
ROTATE LEFT (ACCUMULATOR)
RLA
Operation: tmp ← A
A(0) ← C
C ← A(7)
A(n+1) ← tmp(n) for n = 0 to 6
The contents of the accumulator are concatenated with the Carry flag and together they are
rotated left one bit position. Bit 7 of the accumulator is moved to the Carry flag and the Carry
flag is moved to bit 0 of the accumulator.
Flags: S: Unaffected
Z: Unaffected
H: Cleared
P: Unaffected
N: Cleared
C: Set if the bit rotated from bit 7 was a 1; cleared otherwise
Addressing Execute
Mode Syntax Instruction Format Time Note
RLA 00010111 2
Komentarze do niniejszej Instrukcji