This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

SLL Shift left Logical and store in register

Undocumented Shift left logical and store in register

Table of Contents

This instruction performs an SLL (IX+dd) or SLL (IX+dd) operation but then also stores the result in a register as well as in the memory location.

Note: This is an undocumented extension to an undocumented instruction.

Visualisation of the SLL instruction

76543210
 
SLL r,(IX+d)
11011101DD
11001011CB
d
00110r
 
SLL r,(IY+d)
11111101FD
11001011CB
d
00110r
Registers
Registerr
B000
C001
D010
E011
H100
L101
A111

Note: r=%110 does exist. It doesn't do a copy into a register as it's the existing official, documented instruction.

Opcode Matrix
ABCDEHL
(IX+d)
SLL A,(IX+d)
DDCBnn37
SLL B,(IX+d)
DDCBnn30
SLL C,(IX+d)
DDCBnn31
SLL D,(IX+d)
DDCBnn32
SLL E,(IX+d)
DDCBnn33
SLL H,(IX+d)
DDCBnn34
SLL L,(IX+d)
DDCBnn35
(IY+d)
SLL A,(IY+d)
FDCBnn37
SLL B,(IY+d)
FDCBnn30
SLL C,(IY+d)
FDCBnn31
SLL D,(IY+d)
FDCBnn32
SLL E,(IY+d)
FDCBnn33
SLL H,(IY+d)
FDCBnn34
SLL L,(IY+d)
FDCBnn35
Opcode Matrix Legend
Instruction Opcode hex
 Undocumented