54
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
10.5 Interrupt Sequence
An interrupt request is held until the interrupt is accepted or the interrupt latch is cleared to ‘0’ by a reset or an
instruction. Interrupt acceptance always generates at last cycle of the instruction. So instead of fetching the current
instruction, CPU executes internally LCALL instruction and saves the PC stack. For the interrupt service routine, the
interrupt controller gives the address of LJMP instruction to CPU. After finishing the current instruction, at the next
instruction to go interrupt service routine needs 5~8 machine cycle and the interrupt service task is terminated upon
execution of an interrupt return instruction [RETI]. After generating interrupt, to go to interrupt service routine, the
following process is progressed.
Figure 10.3
Interrupt Sequence Flow
Saves PC value in order to continue
process again after executing ISR
IE.EA Flag
1
IEx.y
1
1
Program Counter low Byte
SP
SP + 1
M(SP)
(PCL)
2
Program Counter high Byte
SP
SP + 1
M(SP)
(PCH)
3
Interrupt Vector Address occurrence
(Interrupt Vector Address)
4
ISR(Interrupt Service Routine) move, execute
5
Return from ISR
RETI
6
Program Counter high Byte recover
(PCH)
M(SP)
SP
SP - 1
7
Main Program execution
9
Program Counter low Byte recovery
(PCL)
M(SP)
SP
SP - 1
8
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...