CPU12
INSTRUCTION GLOSSARY
MOTOROLA
REFERENCE MANUAL
6-163
Operation:
(M
(SP)
: M
(SP
+
1)
)
⇒
A : B
(SP)
+
$0002
⇒
SP
Description:
Double accumulator D is loaded from the address indicated by the stack
pointer. The SP is then incremented by two.
The order in which A and B are pulled from the stack is the opposite of
the order in which A and B are pulled when an RTI instruction is execut-
ed. The interrupt stacking order for A and B is backward-compatible with
the M6800, which had no 16-bit accumulator.
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:
None affected.
Addressing Modes, Machine Code, and Execution Times:
PULD
Pull Double Accumulator
from Stack
PULD
S
X
H
I
N
Z
V
C
–
–
–
–
–
–
–
–
Source Form
Address Mode
Object Code
Cycles
Access Detail
PULD
INH
3A
3
UfO
Summary of Contents for CPU12
Page 8: ...MOTOROLA CPU12 viii REFERENCE MANUAL ...
Page 14: ...MOTOROLA INTRODUCTION CPU12 1 4 REFERENCE MANUAL ...
Page 20: ...MOTOROLA OVERVIEW CPU12 2 6 REFERENCE MANUAL ...
Page 38: ...MOTOROLA INSTRUCTION QUEUE CPU12 4 6 REFERENCE MANUAL ...
Page 300: ...MOTOROLA DEVELOPMENT AND DEBUG SUPPORT CPU12 8 16 REFERENCE MANUAL ...
Page 338: ...MOTOROLA MEMORY EXPANSION CPU12 10 8 REFERENCE MANUAL ...
Page 364: ...MOTOROLA INSTRUCTION REFERENCE CPU12 A 26 REFERENCE MANUAL ...
Page 386: ...MOTOROLA HIGH LEVEL LANGUAGE SUPPORT CPU12 C 6 REFERENCE MANUAL ...
Page 438: ...MOTOROLA SUMMARY OF CHANGES CPU12 S 2 REFERENCE MANUAL ...
Page 439: ......