6F3B0250

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

-

Execution

Output

-

Operand

No operand is required.

Example

An interrupt program

(Timer interrupt,

I/O interrupt #1, #2, #3 or #4)

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.

228 T1/T1S User’s Manual

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 230
Image 230
Toshiba PROSEC T1 T1S, 6F3B0250 user manual Iret, Interrupt return