Download Z80 CPU User Manual

Transcript
Z80 CPU
User Manual
110
LD SP, HL
Operation
SP ← HL
Op Code
LD
Operands
SP, HL
1
1
1
r
1
0
0
1
F9
Description
The contents of the register pair HL are loaded to the Stack Pointer (SP).
M Cycles
T States
4 MHz E.T.
1
6
1.5
Condition Bits Affected
None.
Example
If the register pair HL contains 442Eh, then upon the execution of an LD SP, HL instruction, the Stack Pointer also contains 442Eh.
Z80 Instruction Set
UM008006-0714