Motorola HC12 Refrence Manual page 269

Table of Contents

Advertisement

TSX
(SP) ⇒ X
Operation:
Description:
This is an alternate mnemonic to transfer the stack pointer value to index
register X. The content of the SP remains unchanged. After a TSX in-
struction, X points at the last value that was stored on the stack.
Condition Codes and Boolean Formulas:
S
None affected.
Addressing Modes, Machine Code, and Execution Times:
Source Form
TSX translates to...
TFR SP,X
CPU12
REFERENCE MANUAL
Transfer from Stack Pointer
to Index Register X
X
H
I
N
Z
Address Mode
INH
B7 75
INSTRUCTION GLOSSARY
V
C
Object Code
TSX
Cycles
Access Detail
1
P
MOTOROLA
6-209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents