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