
Z80 Instruction Set UM008007-0715
110
Z80 CPU
User Manual
LD SP, HL
Operation
SP ← HL
Op Code
LD
Operands
SP, HL
Description
The contents of the register pair HL are loaded to the Stack Pointer (SP).
Condition Bits Affected
None.
Example
If the register pair HL contains 442Eh, then upon the execution of an LD SP, HL instruc-
tion, the Stack Pointer also contains
442Eh.
M Cycles T States 4 MHz E.T.
16 1.5
Kommentare zu diesen Handbüchern