Motorola HC12 Refrence Manual page 221

Table of Contents

Advertisement

PULB
Operation:
(M
(SP)
(SP) + $0001 ⇒ SP
Description:
Accumulator B 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
None affected.
Addressing Modes, Machine Code, and Execution Times:
Source Form
PULB
CPU12
REFERENCE MANUAL
Pull B from Stack
) ⇒ B
X
H
I
N
Z
Address Mode
INH
33
INSTRUCTION GLOSSARY
V
C
Object Code
PULB
Cycles
Access Detail
3
ufO
MOTOROLA
6-161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents