This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

LD dd, nn

Load 16-bit number

Table of Contents

76543210
 
\(dd \longleftarrow nn\)
LD dd, nn
00dd0001
7nn0
158
 
\(IX \longleftarrow nn\)
LD IX, nn
11011101DD
0010000121
7nn0
158
 
\(IY \longleftarrow nn\)
LD IY, nn
11111101FD
0010000121
7nn0
158
Registers
Valuedd
00BC
01DE
10HL
11SP
Flags Affected
None.
Opcode Matrix
BCDEHLIXIYSP
nn
LD BC, nn
01nnnn310
LD DE, nn
11nnnn310
LD HL, nn
21nnnn310
LD IX, nn
DD21nnnn414
LD IY, nn
FD21nnnn414
LD SP, nn
31nnnn310
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Implicit