Toshiba PROSEC T1 T1S Video Game Controller User Manual


 
6F3B0250
228
T1/T1S 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)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net