Z
ILOG
RL
ROTATE LEFT (BYTE)
RL dst
Operation:
tmp
dst(0)
C
dst(n+1)
The contents of the destination operand are concatenated with the Carry flag and together
they are rotated left one bit position. Bit 7 of the destination operand is moved to the Carry
flag and the Carry flag is moved to bit 0 of the destination.
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
R:
RL R
IR:
RL (HL)
X:
RL (XY+d)
Field Encodings: r:
per convention
y: 0 for IX, 1 for IY
5-144
dst = R, IR, X
← dst
← C
← dst(7)
← tmp(n) for n = 0 to 6
Instruction Format
11001011 00010-r-
11001011 00010110
11y11101 11001011 ——d— 00010110
Execute
Time
Note
2
2+r
4+r
I
DC-8297-03
Z380
™
U
'
M
SER
S
ANUAL
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?