beautypg.com

Zilog Z8F0130 User Manual

Page 41

background image

eZ8

CPU Core

User Manual

UM012820-0810

Address Space

26

An overflow or underflow can occur when stack address is incremented
or decremented beyond the available address space. This occurrence must
be prevented otherwise it results in an unpredictable operation.

Figure 7. Stack Operations

PC[15:8]

PC[7:0]

Top of Stack

Flags

PC[15:8]

PC[7:0]

Top of Stack

Stack Contents

After an

Interrupt or Trap

Stack Contents

After a

Call Instruction