Go To N - Singer Friden 1155 Operator's Primer

Advanced programmable calculator
Hide thumbs Also See for Friden 1155:
Table of Contents

Advertisement

9/72
22
GO TO N
The
GO TO N (GO TO, I ND IRE C
T)
instruction is programmed by pressing
IGOTOI
() ()
then
fINDl
.~
GO TO N
Go to the program code specified by the content of register
00.
The
content of register
00
must be a whole number in the range
00
to 99,
inclusive.
For example, if the content of register
00
is 37, then a
GO TO N
instruction
will cause the 1155 to go to program code 37, and continue from there.
The following program illustrates the use of the
GO TO N
instruction.
++249
:LO
SPACE
STOP
PRINT
STORE
00
GO TO N
O:L
:L
PRINT
GO TO :LO
02
2
2
PRINT
GO TO :LO
03
3
3
3
PRINT
GO TO :LO
Key in
N. (N
=
1, 2, 3,
or
10)
Store N in.register
00.
If
N
=
1, this part is executed.
If
N
=
2, this part is executed.
If
N
=
3, this part is executed
22-1

Advertisement

Table of Contents
loading

Table of Contents