beautypg.com

Chapter 4. programming – IAI America S-SEL-E User Manual

Page 149

background image

Page 144

EXSR (Execute Subroutine)

[Function]

Performs the designated subroutine number.

(Valid only within the same program)

[Example]

EXSR

1

Perform subroutine 1

EXSR 1

BGSR 1

EDSR

Subroutine 1

Chapter 4. Programming

Start

Finish

Execute Subroutine 1

E x p a n s i o n

c o n d i t i o n

( A N D · O R )

I n p u t

c o n d i t i o n

( I / O · F l a g )

C o m m a n d

P o s t

( O u t p u t p o r t · F l a g )

C o m m a n d

O p e r a n d 1

O p e r a n d 2

O p t i o n a l

O p t i o n a l

E X S R

S u b r o u t i n e N o .

This manual is related to the following products: