Motorola HC12 Refrence Manual page 216

Table of Contents

Advertisement

PSHC
(SP) – $0001 ⇒ SP
Operation:
(CCR) ⇒ M
Description:
Stacks the content of the condition codes register. The stack pointer is
decremented by one. The content of the CCR is then stacked at the ad-
dress to which the SP points.
Push instructions are commonly used to save the contents of one or
more CPU registers at the start of a subroutine. Complementary pull in-
structions can be used to restore the saved CPU registers just before re-
turning from the subroutine.
Condition Codes and Boolean Formulas:
S
None affected.
Addressing Modes, Machine Code, and Execution Times:
Source Form
PSHC
MOTOROLA
6-156
Push CCR onto Stack
(SP)
X
H
I
N
Z
Address Mode
INH
39
INSTRUCTION GLOSSARY
V
C
Object Code
PSHC
Cycles
Access Detail
2
Os
CPU12
REFERENCE MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents