beautypg.com

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

Page 245: Condition bits affected, Attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

236

LD SP, Mmn

Load Stack Pointer

Operation

SP

Mmn

Description

The immediate operand, Mmn, is written to the multibyte Stack Pointer register (SP). In

ADL mode, or when the .L suffix is employed, Stack Pointer Long (SPL) is the destina-

tion. In Z80 mode, or when the .S suffix is employed, Stack Pointer Short (SPS) is the des-

tination.

Condition Bits Affected

None.

Attributes

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

LD

SP

,mn

0

3

31, nn, mm

LD

SP

,Mmn

1

4

31, nn, mm, MM

LD.LIL

SP

,Mmn

0

5

5B, 31, nn, mm, MM

LD.SIS

SP

,mn

1

4

40, 31, nn, mm

This manual is related to the following products: