Motorola HC12 Refrence Manual page 222

Table of Contents

Advertisement

PULC
Operation:
(M
(SP)
(SP) + $0001 ⇒ SP
Description:
The condition code register is loaded from the address indicated by the
stack pointer. The SP is then incremented by one.
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
Condition codes take on the value pulled from the stack, except that
the X mask bit cannot change from zero to one. Software can leave the
X bit set, leave it cleared, or change it from one to zero, but it can only
be set by a reset or by recognition of an XIRQ interrupt.
Addressing Modes, Machine Code, and Execution Times:
Source Form
PULC
MOTOROLA
6-162
Pull Condition Code Register
from Stack
) ⇒ CCR
X
H
I
N
Z
Address Mode
INH
38
INSTRUCTION GLOSSARY
V
C
Object Code
PULC
Cycles
Access Detail
3
ufO
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents