255
Chapter 5 Interrupt
5.4 Return from Interrupt Routine
As you execute the REIT instruction at the end of the interrupt routine, the contents of the FLG register and
the PC that have been saved to the stack area immediately preceding the interrupt sequence are automati-
cally restored. Then control returns to the routine that was under execution before the interrupt request was
acknowledged.
If there are any registers you saved via program in the interrupt routine, be sure to restore them using an
instruction (e.g., POPM instruction) before executing the REIT instruction.
5.4 Return from Interrupt Routine
Содержание R8C/Tiny Series
Страница 50: ...Chapter 3 Functions 3 1 Guide to This Chapter 3 2 Functions...
Страница 151: ...134 Chapter 3 Functions 3 2 Functions Blank for page layout...
Страница 152: ...Chapter 4 Instruction Code Number of Cycles 4 1 Guide to This Chapter 4 2 Instruction Code Number of Cycles...
Страница 278: ...Chapter 6 Calculation Number of Cycles 6 1 Instruction queue buffer...
Страница 287: ...Glossary 1 Glossary Technical terms used in this software manual are explained below They are good in this manual only...
Страница 291: ...Symbol 1 Table of symbols Symbols used in this software manual are explained below They are good in this manual only...
Страница 295: ...REVISION HISTORY R8C Tiny Series SOFTWARE MANUAL Rev Date Description Page Summary B 1 1 00 Jun 19 03 First Edition...
Страница 297: ...R8C Tiny Series Software Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...