beautypg.com

Ld sp, ix/y, Operation, Description – Zilog EZ80F916 User Manual

Page 244: Condition bits affected, Attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

235

LD SP, IX/Y

Load Stack Pointer

Operation

SP

IX/Y

Description

The CPU writes the contents of the specified multibyte Index Register, IX or IY, 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

,IX

X

2

DD, F9

LD.S

SP

,IX

1

3

52, DD, F9

LD.L

SP

,IX

0

3

49, DD, F9

LD

SP

,IY

X

2

FD, F9

LD.S

SP

,IY

1

3

52, FD, F9

LD.L

SP

,IY

0

3

49, FD, F9

This manual is related to the following products: