6F3B0253
210 T1-16S User’s Manual
7. Instructions

FUN 142 IRET Interrupt return

Expression
−−[ IRET ]−
Function
This instruction indicates the end of an interrupt program. When program execution reaches this
instruction, it returns to the original location of the main program (or subroutine).
Execution condition
Input Operation Output
-Execution -
Operand
No operand is required.
Example
Note
The IRET instruction can be used only in an interrupt program.
There is no specific instruction which indicates the beginning of the interrupt program.
An interrupt program
(Timer interrupt,
I/O interrupt #1, #2, #3 or #4)