A Programmed GTO Instruction
The GTO label instruction (press
running program to the program line containing that label, wherever it may be.
The program continues running from the new location, and never automatically
returns to its point of origination, so GTO is not used for subroutines.
For example, consider the "Curve Fitting" program in chapter 16. The
instruction branches execution from any one of three independent initializing
routines to LBL Z, the routine that is the common entry point into the heart of the
program:
.
.
.
.
.
.
.
.
.
.
.
.
Using GTO from the Keyboard
¹ r
You can use
number without starting program execution.
¹ r
Can start here.
1
Branches to Z.
Can start here.
1
Branches to Z.
Can start here.
1
Branches to Z.
1
Branch to here.
to move the program pointer to a specified label or line
label ) transfers the execution of a
Programming Techniques
13–5