Z
ILOG
RLC dst
Operation:
tmp
C
dst(0)
dst(n+1)
The contents of the destination operand are rotated left one bit position. Bit 7 of the
destination operand is moved to the bit 0 position and also replaces the Carry flag.
Flags:
S: Set if the most significant bit of the result is set; cleared otherwise
Z: Set if the result is zero; cleared otherwise
H: Cleared
P: Set if parity of the result is even; cleared otherwise
N: Cleared
C: Set if the bit rotated from bit 7 was a 1; cleared otherwise
Addressing
Mode
Syntax
RLC R
R:
IR:
RLC (HL)
X:
RLC (XY+d)
Field Encodings: r:
per convention
y: 0 for IX, 1 for IY
DC-8297-03
dst = R, IR, X
← dst
← dst(7)
← tmp(7)
← tmp(n) for n = 0 to 6
Instruction Format
11001011 00000-r-
11001011 00000110
11y11101 11001011 ——d— 00000110
ROTATE LEFT CIRCULAR (BYTE)
Execute
Time
2
2+r
4+r
™
Z380
U
'
M
SER
S
ANUAL
RLC
Note
I
5-147
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?
Questions and answers