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

Return to the regular view of this page.

LD SP, s

Set Stack Pointer from register

Table of Contents

76543210
 
\(SP \longleftarrow HL\)
LD SP,HL
11111001F9
 
\(SP \longleftarrow IX\)
LD SP, IX
11011101DD
11111001F9
 
\(SP \longleftarrow IY\)
LD SP, IY
11111101FD
11111001F9
Flags Affected
None.
Opcode Matrix
HLIXIY
SP
LD SP, HL
F916
LD SP, IX
DDF926
LD SP, IY
FDF926
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register