CALL: Difference between revisions

176 bytes added ,  5 years ago
no edit summary
No edit summary
No edit summary
Line 1:
[[File:Inst-call orig.gif|thumb|How to add a CALL instruction to a program.]]
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.
 
Line 17 ⟶ 18:
 
For situations where certain instructions are repetitive or may be seen in many programs, small operation programs may be made for the purpose of being called in larger programs.
 
 
When placing a CALL instruction, you are given a list of all available programs to choose from.
 
==== Example: ====