SLL Shift left Logical and store in register
Undocumented Shift left logical and store in register
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.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
SLL r,(IX+d) | ||||||||
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | DD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 1 | 1 | 0 | r | |||
SLL r,(IY+d) | ||||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | FD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 1 | 1 | 0 | r |
Register | r |
---|---|
B | 000 |
C | 001 |
D | 010 |
E | 011 |
H | 100 |
L | 101 |
A | 111 |
Note: r=%110 does exist. It doesn't do a copy into a register as it's the existing official, documented instruction.
Opcode Matrix
A | B | C | D | E | H | L | |
---|---|---|---|---|---|---|---|
(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 |
Instruction
Opcode hex
| Undocumented |
Last modified November 16, 2021: Optimise undocumented pages (5f13800)