Motorola HC12 Refrence Manual page 185

Table of Contents

Advertisement

LDS
(M : M+1) ⇒ SP
Operation:
Description:
Loads the most significant byte of the SP with the content of memory lo-
cation M, and loads the least significant byte of the SP with the content
of the next byte of memory at M + 1.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
Addressing Modes, Machine Code, and Execution Times:
Source Form
LDS # opr16i
LDS opr8a
LDS opr16a
LDS oprx0_xysp
LDS oprx9,xysp
LDS oprx16,xysp
LDS [D ,xysp ]
LDS [ oprx16,xysp ]
CPU12
REFERENCE MANUAL
Load Stack Pointer
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $0000; cleared otherwise.
0; Cleared.
Address Mode
IMM
DIR
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
V
C
0
Object Code
CF jj kk
DF dd
FF hh ll
EF xb
EF xb ff
EF xb ee ff
EF xb
EF xb ee ff
LDS
Cycles
Access Detail
2
OP
3
RfP
3
ROP
3
RfP
3
RPO
4
fRPP
6
fIfRfP
6
fIPRfP
MOTOROLA
6-125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents