Figure 10. effects of an interrupt on the stack – Zilog Z16F2810 User Manual
Page 59

UM018809-0611
Interrupts
ZNEO
®
CPU Core
User Manual
43
displays an example of addresses used during an interrupt operation.
In this example, the interrupt vector quad address is
0000_0014H
. The 32-bit interrupt
vector address contained by that quad (
0023_4567H
) is loaded into the Program Counter.
The execution of the interrupt service routine begins at
0023_4567H
.
Figure 10. Effects of an Interrupt on the Stack
Top of Stack
Stack Pointer
FLAGS[7:0]
PC[15:8]
PC[7:0]
Stack Pointer
Stack Pointer and Stack
Before an Interrupt
Stack Pointer and Stack
After an Interrupt
PC[23:16]
PC[31:24]
00H
—