beautypg.com

Ld sp, hl, Operation, Description – Zilog EZ80F916 User Manual

Page 243: Condition bits affected, Attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

234

LD SP, HL

Load Stack Pointer

Operation

SP

 HL

Description

The CPU writes the contents of the multibyte CPU register HL to the Stack Pointer. In

ADL mode, or when the .L suffix is employed, the destination is Stack Pointer Long

(SPL). In Z80 mode, or when the .S suffix is employed, the destination is Stack Pointer

Short (SPS).

Condition Bits Affected

None.

Attributes

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

LD

SP

,HL

x

1

F9

LD.S

SP

,HL

1

2

52, F9

LD.L

SP

,HL

0

2

49, F9

This manual is related to the following products: