LD s, (nn)

Load register from memory
76543210
 
\(A \longleftarrow (nn)\)
LD A, (nn)
001110103A
7nn0
158
 
\(H \longleftarrow (nn+1), L \longleftarrow (nn)\)
LD HL, (nn)
001010102A
7nn0
158
 
\(dd_h \longleftarrow (nn+1), dd_l \longleftarrow (nn)\)
LD dd, (nn)
11101101ED
01dd1011
7nn0
158
 
\(IX_h \longleftarrow (nn+1), IX_l \longleftarrow (nn)\)
LD IX, (nn)
11011101DD
001010102A
7nn0
158
 
\(IY_h \longleftarrow (nn+1), IY_l \longleftarrow (nn)\)
LD IY, (nn)
11111101FD
001010102A
7nn0
158
Registers
Valuedd
00BC
01DE
10HL
11SP
Flags Affected
None.
Opcode Matrix
ABCDEHLIXIYSP
(nn)
LD A, (nn)
3Annnn313


LD HL, (nn)
2Annnn316



(nn)

LD BC, (nn)
ED4Bnnnn420
LD DE, (nn)
ED5Bnnnn420
LD HL, (nn)
ED6Bnnnn420
LD IX, (nn)
DD2Annnn420
LD IY, (nn)
FD2Annnn420
LD SP, (nn)
ED7Bnnnn420
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Memory