Returning From Interrupt Routines - Renesas R8C/Tiny Series Software Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 5
Interrupts

5.4 Returning from Interrupt Routines

When the REIT instruction is executed at the end of the interrupt routine, the contents of the FLG register
and 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 any registers were saved in the interrupt routine using a program, be sure to restore them using an
instruction (e.g., the POPM instruction) before executing the REIT instruction.
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
page 255 of 263
5.4 Returning from Interrupt Routines

Advertisement

Table of Contents
loading

Table of Contents