This instruction performs an RL (IX+dd)
or RL (IX+dd)
operation but then also stores
the result in a register as well as in the memory location.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
RL r,(IX+d) | ||||||||
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | DD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 0 | 1 | 0 | r | |||
RL r,(IY+d) | ||||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | FD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 0 | 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) |
RL A,(IX+d)
DDCBnn17 |
RL B,(IX+d)
DDCBnn10 |
RL C,(IX+d)
DDCBnn11 |
RL D,(IX+d)
DDCBnn12 |
RL E,(IX+d)
DDCBnn13 |
RL H,(IX+d)
DDCBnn14 |
RL L,(IX+d)
DDCBnn15 |
(IY+d) |
RL A,(IY+d)
FDCBnn17 |
RL B,(IY+d)
FDCBnn10 |
RL C,(IY+d)
FDCBnn11 |
RL D,(IY+d)
FDCBnn12 |
RL E,(IY+d)
FDCBnn13 |
RL H,(IY+d)
FDCBnn14 |
RL L,(IY+d)
FDCBnn15 |
Instruction
Opcode hex
| Undocumented |