LD (dd), n

Load number into memory
76543210
 
\((HL) \longleftarrow n\)
LD (HL), n
0011011036
n
 
\(( IX + d ) \longleftarrow n\)
LD (IX+d), n
11011101DD
0011011036
d
n
 
\(( IY + d ) \longleftarrow n\)
LD (IY+d), n
11111101FD
0011011036
d
n
Flags Affected
None.
Opcode Matrix
(HL)(IX+d)(IY+d)
n
LD (HL), n
36nn210
LD (IX+d), n
DD36nnnn419
LD (IY+d), n
FD36nnnn419
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Implicit