LD (nn), s

Store register into memory via address
76543210
 
\((nn) \longleftarrow A\)
LD (nn), A
0011001032
7nn0
158
 
\((nn+1) \longleftarrow dd_h, (nn) \longleftarrow dd_l\)
LD (nn), dd
11101101ED
01dd0011
7nn0
158
 
\((nn+1) \longleftarrow H, (nn) \longleftarrow L\)
LD (nn), HL
0010001022
7nn0
158
 
\((nn+1) \longleftarrow IX_h, (nn) \longleftarrow IX_l\)
LD (nn), IX
11011101DD
0010001022
7nn0
158
 
\((nn+1) \longleftarrow IY_h, (nn) \longleftarrow IY_l\)
LD (nn), IY
11111101FD
0010001022
7nn0
158
Registers
Valuedd
00BC
01DE
10HL
11SP
Flags Affected
None.
Opcode Matrix
ABCDEHLIXIYSP
(nn)
LD (nn), A
32nnnn313


LD (nn), HL
22nnnn316



(nn)

LD (nn), BC
ED43nnnn420
LD (nn), DE
ED53nnnn420
LD (nn), HL
ED63nnnn420
LD (nn), IX
DD22nnnn420
LD (nn), IY
FD22nnnn420
LD (nn), SP
ED73nnnn420
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Memory