7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
\((BC) \longleftarrow A\) | ||||||||
LD (BC), A | ||||||||
0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 02 |
\((DE) \longleftarrow A\) | ||||||||
LD (DE), A | ||||||||
0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 12 |
\((HL) \longleftarrow r\) | ||||||||
LD (HL), r | ||||||||
0 | 1 | 1 | 1 | 0 | r | |||
\(( IX + d ) \longleftarrow r\) | ||||||||
LD (IX+d), r | ||||||||
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | DD |
0 | 1 | 1 | 1 | 0 | r | |||
d | ||||||||
\(( IY + d ) \longleftarrow r\) | ||||||||
LD (IY+d), r | ||||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | FD |
0 | 1 | 1 | 1 | 0 | r | |||
d | ||||||||
Register | r |
---|---|
B | 000 |
C | 001 |
D | 010 |
E | 011 |
H | 100 |
L | 101 |
A | 111 |
Flags Affected
None. |
Opcode Matrix
A | B | C | D | E | H | L | |
---|---|---|---|---|---|---|---|
(HL) |
LD (HL), A
7717 |
LD (HL), B
7017 |
LD (HL), C
7117 |
LD (HL), D
7217 |
LD (HL), E
7317 |
LD (HL), H
7417 |
LD (HL), L
7517 |
(BC) |
LD (BC), A
0217 |
|
|
|
|
|
|
(DE) |
LD (DE), A
1217 |
|
|
|
|
|
|
(IX+d) |
LD (IX+d), A
DD77nn319 |
LD (IX+d), B
DD70nn319 |
LD (IX+d), C
DD71nn319 |
LD (IX+d), D
DD72nn319 |
LD (IX+d), E
DD73nn319 |
LD (IX+d), H
DD74nn319 |
LD (IX+d), L
DD75nn319 |
(IY+d) |
LD (IY+d), A
FD77nn319 |
LD (IY+d), B
FD70nn319 |
LD (IY+d), C
FD71nn319 |
LD (IY+d), D
FD72nn319 |
LD (IY+d), E
FD73nn319 |
LD (IY+d), H
FD74nn319 |
LD (IY+d), L
FD75nn319 |
Instruction
Opcode hexSize bytesCycle count
| Memory |