Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>eZ80</strong> <strong>CPU</strong><br />
User Manual<br />
122<br />
RL m<br />
Rotate Left<br />
Operation<br />
Description<br />
The m operand is any of A, B, C, D, E, H, L, (HL), (IX+d), or (IY+d). The<br />
contents of the m operand are rotated left one bit position. Bit 7 is copied into<br />
the Carry Flag and the previous contents of the Carry Flag are copied into Bit 0<br />
of the m operand. ADL mode affects operations with the HL, IX, or IY register.<br />
ADL mode may be overridden with the .S or .L suffix.<br />
Condition Bits Affected<br />
S<br />
Z<br />
H<br />
P/V<br />
N<br />
C<br />
CY 7 0<br />
Set if result is negative; reset otherwise.<br />
Set if result is zero; reset otherwise.<br />
Reset.<br />
Set if parity is even; reset otherwise.<br />
Reset.<br />
Data from Bit 7 of the source.<br />
Mnemonic Operands ADL Mode Cycles Op Codes<br />
RL r X 2 CB, kk<br />
RL (HL) X 5 CB, 16<br />
RL.S (HL) 1 6 52, CB, 16<br />
RL.L (HL) 0 6 49, CB, 16<br />
RL (IX+d) X 7 DD, CB, dd, 16<br />
RL.S (IX+d) 1 8 52, DD, CB, dd, 16<br />
RL.L (IX+d) 0 8 49, DD, CB, dd, 16<br />
RL (IY+d) X 7 FD, CB, dd, 16<br />
RL.S (IY+d) 1 8 52, FD, CB, dd, 16<br />
RL.L (IY+d) 0 8 49, FD, CB, dd, 16<br />
kk = binary code 00 010 rrr where rrr identifies the registers A, B, C, D, E,<br />
H, or L assembled as follows in the object code:<br />
Register rrr<br />
A 111<br />
B 000<br />
C 001<br />
D 010<br />
E 011<br />
H 100<br />
L 101<br />
m<br />
UM007701-1100