Programming
Techniques
13–5
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
A Programmed GTO Instruction
The GTO
label
instruction (press
¹
r
label
) transfers the execution of a
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:
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.
.
.
.
Using GTO from the Keyboard
You can use
¹
r
to move the program pointer to a specified label or line
number
without
starting program execution.
Summary of Contents for 33S
Page 14: ......
Page 15: ...Part 1 Basic Operation ...
Page 16: ......
Page 56: ......
Page 64: ......
Page 82: ......
Page 92: ......
Page 122: ......
Page 138: ......
Page 157: ...Part 2 Programming ...
Page 158: ......
Page 184: ......
Page 210: ......
Page 222: ......
Page 293: ...Part 3 Appendixes and Reference ...
Page 294: ......
Page 324: ......
Page 348: ......