Canon Canola SX-300 series Instructions Manual page 22

Programmable calculator
Hide thumbs Also See for Canola SX-300 series:
Table of Contents

Advertisement

FLAG nn
This is the destination of the jump
instruction.
SP
nn
"Start program"
I
ndicates the head of a main program
and of a subroutine.
Has a function of entry.
a.
Head of a program.
YES
A fter manual key operations of
(GO
~~
SPI
n ;
or
tCQ-~)
to select the desired
RESET ERROR
program, it searches the SP instruc-
RED
tion with same symbol and exe -
cutes the required program calcula·
tion.
b.
Subroutine head.
This can be the destination from
I nput key operation;
n:
GO TO SP instruction used as a
IF
ENTRY
GO
TO
nn
subroutine jump in a ma in program.
"Entry jump"
c.
Entry function.
This instruction judges if a datum is
After reading EP instruction used as
entered before this instruction.
a main program end, the program
Jumps to FLAG nn when a datum is
step jumps to the SP instruction
input at the entry instruction given
which has the same symbol, and
immediately
before
this
instruction.
stops at the SP instruction.
However, when the results of function
calculation, ordinary calculation,
or
re -
stop
called data are input, the step will
advance to the next instruction.
This instruction does not have the
ENTRY function by itself, but makes
only a decision and/or a jump. So
nn
always leave an
ENTRY instruction
directly before this.
EP
nn
"End of program"
I nd icates end of a main program and of
a subroutine.
1)
When a main program ends with EP
nn instruction, program jumps to
j
SP nn and stops.
YES
2)
When a subroutine ends with EP nn
J
instruction, program returns to the
instruction next to GO TO SP nn in
NO
main program and the following
main program calculation goes on.
I nput key operation;
1' 1 :
j
22

Advertisement

Table of Contents
loading

Table of Contents