beautypg.com

IAI America SSEL User Manual

Page 158

background image

136

Part 2 Programs

z EDSR (End subroutine)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Prohibited Prohibited EDSR

Prohibited

Prohibited CP

[Function]

Declare the end of a subroutine.
This command is always required at the end of a subroutine.
Thereafter, the program will proceed to the step next to the EXSR that has been called.

[Example 1] Refer to the section on EXSR command.