Renesas R8C/Tiny Series Software Manual page 125

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

Advertisement

Chapter 3
Functions
REIT
[ Syntax ]
REIT
[ Operation ]
PC
ML
SP
PC
, FLG
H
SP
[ Function ]
• This instruction restores the PC and FLG that were saved when an interrupt request was accepted to
return from the interrupt handler routine.
[ Flag Change ]
Flag
U
I
O
Change
*1 *1 *1 *1 *1 *1 *1 *1
[ Description Example ]
REIT
Return from interrupt
REturn from InTerrupt
M(SP)
SP
+
2
M(SP)
SP
+
2
B
S
Z
D
C
[ Instruction Code/Number of Cycles ]
*1 The flags are reset to the previous FLG state before the
interrupt request was accepted.
108
3.2
Functions
REIT
Page=218

Advertisement

Table of Contents
loading

Table of Contents