7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
RLA | ||||||||
0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 17 |
RL r | ||||||||
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
0 | 0 | 0 | 1 | 0 | r | |||
RL (HL) | ||||||||
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 16 |
RL (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 | 1 | 1 | 0 | 16 |
RL (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 | 1 | 1 | 0 | 16 |
Register | r |
---|---|
B | 000 |
C | 001 |
D | 010 |
E | 011 |
H | 100 |
L | 101 |
A | 111 |
Flags Affected
Flags |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
s | set if result negative | ||||||||
z | set if result is 0 | ||||||||
h | reset | ||||||||
p/v | set if parity even, reset if parity odd | ||||||||
c | data from bit 7 of source register |
Opcode Matrix
A | B | C | D | E | H | L | (HL) | (IX+d) | (IY+d) | |
---|---|---|---|---|---|---|---|---|---|---|
RL |
RLA
1714 |
|
|
|
|
|
|
|
|
|
RL |
RL A
CB1728 |
RL B
CB1028 |
RL C
CB1128 |
RL D
CB1228 |
RL E
CB1328 |
RL H
CB1428 |
RL L
CB1528 |
RL (HL)
CB16215 |
RL (IX+d)
DDCBnn16423 |
RL (IY+d)
FDCBnn16423 |
Instruction
Opcode hexSize bytesCycle count
| Register | Memory |