Sla (ix/y+d), Operation description, Condition bits affected attributes – Zilog EZ80F916 User Manual
Page 353
eZ80
®
CPU
User Manual
UM007715-0415
CPU Instruction Set
344
SLA (IX/Y+d)
Shift Left Arithmetic
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 shifting them left one bit
position. The CPU next copies bit 7 into the Carry Flag and copies a 0 into bit 0 of the
memory location, (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)
SLA
(IX+d)
X
7
DD, CB, dd, 26
SLA.S
(IX+d)
1
8
52, DD, CB, dd, 26
SLA.L
(IX+d)
0
8
49, DD, CB, dd, 26
SLA
(IY+d)
X
7
FD, CB, dd, 26
SLA.S
(IY+d)
1
8
52, FD, CB, dd, 26
SLA.L
(IY+d)
0
8
49, FD, CB, dd, 26
C
7
0
(IX/Y+d)
0