This instruction performs an RRC (IX+dd)
or RRC (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 | |
---|---|---|---|---|---|---|---|---|
RRC 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 | 0 | 1 | r | |||
RRC 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 | 0 | 1 | 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) |
RRC A,(IX+d)
DDCBnn0F |
RRC B,(IX+d)
DDCBnn08 |
RRC C,(IX+d)
DDCBnn09 |
RRC D,(IX+d)
DDCBnn0A |
RRC E,(IX+d)
DDCBnn0B |
RRC H,(IX+d)
DDCBnn0C |
RRC L,(IX+d)
DDCBnn0D |
(IY+d) |
RRC A,(IY+d)
FDCBnn0F |
RRC B,(IY+d)
FDCBnn08 |
RRC C,(IY+d)
FDCBnn09 |
RRC D,(IY+d)
FDCBnn0A |
RRC E,(IY+d)
FDCBnn0B |
RRC H,(IY+d)
FDCBnn0C |
RRC L,(IY+d)
FDCBnn0D |
Instruction
Opcode hex
| Undocumented |