Only four rotate instructions are defined in the main opcode set, all the rest
require the CB
prefix.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|
IO | |||||||
1 | 1 | 0 | 1 | D | 0 | 1 | 1 |
EXX | |||||||
1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
EX | |||||||
1 | 1 | 1 | 0 | W | 0 | 1 | 1 |
Interrupts | |||||||
1 | 1 | 1 | 1 | E | 0 | 1 | 1 |
Instruction | D |
---|---|
Out | 0 |
In | 1 |
Instruction | W |
---|---|
DE_HL | 0 |
(SP)_HL | 1 |
Instruction | E |
---|---|
DI | 0 |
EI | 1 |