CALL

Revision as of 02:08, 1 May 2019 by Mike138 (talk | contribs) (Created page with "CALL is a non-motion instruction that causes the robot to halt progression of its current running program, throw all of the currently-in-use data about that program into the p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CALL is a non-motion instruction that causes the robot to halt progression of its current running program, throw all of the currently-in-use data about that program into the processor's stack, and start another program.

SELECT Variable Math Variable Action Destination
SELECT R[1] = 1 Call Program1
= 2 Call Program2
= 1 Call Program3
Else JMP LBL2


Call instructions are special in that they're intended to return once they have been completed.