Motorola HC12 Refrence Manual page 224

Table of Contents

Advertisement

PULX
Operation:
(M
(SP)
(SP) + $0002 ⇒ SP
Description:
Index register X is loaded from the address indicated by the stack point-
er. The SP is then incremented by two.
Pull instructions are commonly used at the end of a subroutine, to re-
store the contents of CPU registers that were pushed onto the stack be-
fore subroutine execution.
Condition Codes and Boolean Formulas:
S
None affected.
Addressing Modes, Machine Code, and Execution Times:
Source Form
PULX
MOTOROLA
6-164
Pull Index Register X from Stack
) ⇒ X
: M
(SP + 1)
H
X
H
I
N
Z
Address Mode
INH
30
INSTRUCTION GLOSSARY
: X
L
V
C
Object Code
PULX
Cycles
Access Detail
3
UfO
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents