MC68HC05K1 FREESCALE [Freescale Semiconductor, Inc], MC68HC05K1 Datasheet - Page 50

no-image

MC68HC05K1

Manufacturer Part Number
MC68HC05K1
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Technical Data
4.4 Interrupt Processing
Technical Data
To begin servicing an interrupt, the CPU:
The return-from-interrupt (RTI) instruction causes the CPU to recover
the CPU registers from the stack as shown in
STACKING
Freescale Semiconductor, Inc.
ORDER
5
4
3
2
1
For More Information On This Product,
Stores the CPU registers on the stack in the order shown in
Figure 4-3
Sets the I bit in the condition code register to prevent further
interrupts
Loads the program counter with the contents of the appropriate
interrupt vector locations:
– $03FC and $03FD (software interrupt vector)
– $03FA and $03FB (external interrupt vector)
– $03F8 and $03F9 (timer interrupt vector)
UNSTACKING
ORDER
1
2
3
4
5
Go to: www.freescale.com
Figure 4-3. Interrupt Stacking Order
Interrupts
PROGRAM COUNTER (HIGH BYTE)
PROGRAM COUNTER (LOW BYTE)
CONDITION CODE REGISTER
INDEX REGISTER
ACCUMULATOR
MC68HC05K0 • MC68HC05K1 — Rev. 2.0
Figure
$00E0 (BOTTOM OF STACK)
$00E1
$00E2
$00FD
$00FE
$00FF (TOP OF STACK)
4-3.

Related parts for MC68HC05K1