beautypg.com

NEC PD75402A User Manual

Page 49

background image

38

CHAPTER 4. INTERNAL CPU FUNCTIONS

Fig. 4-8 Data Saved to Stack Memory

Stack

Stack

Stack

Register Pair
Low Order

Register Pair
High Order

SP - 2

SP - 1

SP

SP - 2

SP - 1

SP

SP - 4

SP - 3

PC10 - PC8

0

0

0

0

0

PC3 - PC0

PC7 - PC4

SP - 2

SP - 1

SP

SP - 4

SP - 3

SP - 6

SP - 5

PC10 - PC8

0

0

0

0

0

PC3 - PC0

PC7 - PC4

0

IST0

0

0

CY

SK2 SK1 SK0

PSW

PUSH Instruction

CALLF Instruction

Interrupt

Fig. 4-9 Data Restored from Stack Memory

Stack

Stack

Stack

Register Pair
Low Order

Register Pair
High Order

SP + 1

SP + 2

SP

PC10 - PC8

0

0

0

0

0

PC3 - PC0

PC7 - PC4

PC10 - PC8

0

0

0

0

0

PC3 - PC0

PC7 - PC4

0

IST0

0

0

CY

SK2 SK1 SK0

PSW

POP Instruction

RET, RETS Instruction

RETI Instruction

SP + 1

SP + 2

SP

SP + 3

SP + 4

SP + 1

SP + 2

SP

SP + 3

SP + 4

SP + 5

SP + 6

This manual is related to the following products: