7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
SLA r | ||||||||
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
0 | 0 | 1 | 0 | 0 | r | |||
SLA (HL) | ||||||||
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 26 |
SLA (IX+d) | ||||||||
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | DD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 26 |
SLA (IY+d) | ||||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | FD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | CB |
d | ||||||||
0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 26 |
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) | |
---|---|---|---|---|---|---|---|---|---|---|
SLA |
SLA A
CB2728 |
SLA B
CB2028 |
SLA C
CB2128 |
SLA D
CB2228 |
SLA E
CB2328 |
SLA H
CB2428 |
SLA L
CB2528 |
SLA (HL)
CB26215 |
SLA (IX+d)
DDCBnn26423 |
SLA (IY+d)
FDCBnn26423 |
Instruction
Opcode hexSize bytesCycle count
| Register | Memory |