EasyManua.ls Logo

ZiLOG eZ80

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
309
RLC (IX/Y+d)
Rotate Left with Carry
Operation
Description
The (
IX/Y
+
d
) operand is an 8-bit value at the memory location specified by the contents
of the Index Register, IX or IY, added to the two’s-complement displacement
d
. The CPU
manipulates the contents of this memory location, (
IX/Y
+
d
), by rotating them left one bit
position. The CPU next copies bit 7 into the Carry Flag and into bit 0 of the memory loca-
tion, (
IX/Y
+
d
).
Condition Bits Affected
Attributes
S Set if result is negative; reset otherwise.
Z Set if result is 0; reset otherwise.
H Reset.
P/V Set if parity is even; reset otherwise.
N Reset.
C Data from bit 7 of the source.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
RLC (IX+d)X 7 DD, CB, dd, 06
RLC.S (IX+d)1 8 52, DD, CB, dd, 06
RLC.L (IX+d)0 8 49, DD, CB, dd, 06
RLC (IY+d)X 7 FD, CB, dd, 06
RLC.S (IY+d)1 8 52, FD, CB, dd, 06
RLC.L (IY+d)0 8 49, FD, CB, dd, 06
C
7
0
(IX/Y+d)

Related product manuals