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 B
Change
*1
*1 *1
[ Description Example ]
REIT
Return from interrupt
REturn from InTerrupt
M(SP)
SP
+
2
M(SP)
SP
+
2
S
Z
D
C
*1
*1 *1
*1
*1
[ Instruction Code/Number of Cycles ]
*1 The flags are reset to the previous FLG state before the
interrupt request was accepted.
110
3.2
Functions
REIT
Page= 219