Mnemonic |
Symbolic
Operation |
Flags
S Z H P/V N C |
Opcode
76 543 210 |
Hex |
Bytes |
M
Cycles |
Clock
Cycles |
Comments |
RLCA |
|
• • 0 • 0 ↕ |
00 000 111 |
07 |
1 |
1 |
4 |
|
RLA |
|
• • 0 • 0 ↕ |
00 010 111 |
17 |
1 |
1 |
4 |
RRCA |
|
• • 0 • 0 ↕ |
00 001 111 |
0F |
1 |
1 |
4 |
RRA |
|
• • 0 • 0 ↕ |
00 011 111 |
1F |
1 |
1 |
4 |
RLC r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 000 r |
CB |
2 |
2 |
8 |
r Reg
000 B
001 C
010 D
011 E
100 H
101 L
111 A |
RLC (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 000 110 |
CB |
2 |
4 |
15 |
RLC (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 000 110 |
DD
CB |
4 |
6 |
23 |
RLC (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 000 110 |
FD
CB |
4 |
6 |
23 |
RL r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 010 r |
CB |
2 |
2 |
8 |
RL (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 010 110 |
CB |
2 |
4 |
15 |
RL (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 010 110 |
DD
CB |
4 |
6 |
23 |
RL (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 010 110 |
FD
CB |
4 |
6 |
23 |
RRC r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 001 r |
CB |
2 |
2 |
8 |
RRC (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 001 110 |
CB |
2 |
4 |
15 |
RRC (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 001 110 |
DD
CB |
4 |
6 |
23 |
RRC (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 001 110 |
FD
CB |
4 |
6 |
23 |
RR r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 011 r |
CB |
2 |
2 |
8 |
RR (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 011 110 |
CB |
2 |
4 |
15 |
RR (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 011 110 |
DD
CB |
4 |
6 |
23 |
RR (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 011 110 |
FD
CB |
4 |
6 |
23 |
RLD |
|
↕ ↕ 0 P 0 • |
11 101 101
01 101 111 |
ED
6F |
2 |
5 |
18 |
|
RRD |
|
↕ ↕ 0 P 0 • |
11 101 101
01 100 111 |
ED
67 |
2 |
5 |
18 |
SLA r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 100 r |
CB |
2 |
2 |
8 |
r Reg
000 B
001 C
010 D
011 E
100 H
101 L
111 A |
SLA (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 100 110 |
CB |
2 |
4 |
15 |
SLA (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 100 110 |
DD
CB |
4 |
6 |
23 |
SLA (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 100 110 |
FD
CB |
4 |
6 |
23 |
SRA r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 101 r |
CB |
2 |
2 |
8 |
SRA (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 101 110 |
CB |
2 |
4 |
15 |
SRA (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 101 110 |
DD
CB |
4 |
6 |
23 |
SRA (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 101 110 |
FD
CB |
4 |
6 |
23 |
SRL r |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 111 r |
CB |
2 |
2 |
8 |
SRL (HL) |
|
↕ ↕ 0 P 0 ↕ |
11 001 011
00 111 110 |
CB |
2 |
4 |
15 |
SRL (IX + d) |
|
↕ ↕ 0 P 0 ↕ |
11 011 101
11 001 011
¬
d ®
00 111 110 |
DD
CB |
4 |
6 |
23 |
SRL (IY + d) |
|
↕ ↕ 0 P 0 ↕ |
11 111 101
11 001 011
¬
d ®
00 111 110 |
FD
CB |
4 |
6 |
23 |
Notes: |
The P symbol in the P/V flag column indicates that the P/V
flag contains the parity of the result.
r means any of the registers A, B, C, D, E, H, L.
CY means the carry flip-flop. |
Flag Notation: |
• = flag is not affected, 0 = flag is reset, 1 = flag is
set,
↕ = flag is set according to the result of the operation. |