Canon Canola SX-300 series Instructions Manual page 21

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

Advertisement

Numbers of 2 digits from 00 to 99 are used as
symbols.
The
entire step
area will
be searched for
destination,
so
the same symbol must not be
repeatedly used with different meaning. How·
ever,
it does not matter if the destination
instruction FLAG and SP are used with same
symbol.
GO TO
nn
"Unconditional jump"
Jumps to FLAG nn unconditionally.
()
~
GO TO
nn
Jump
IF
'if
0 GO TO
nn
"Non-zero jump"
Jumps to FLAG nn when the value in
the buffer register is not zero. Advances
to the nex t instruction when it is zero.
o
Input key operation;
I"
~
TO
I -
()
IF ~O GOTO
nn
"Positive or zero jump"
i
f J -
. .
Jumps to FLAG nn when the value in
the buffer register is zero or positive.
Advances to the next instruction when
negative.
{)
Input key operation; [IF
~~
TO]
G
~
G
()
I,)
IF
<0
GO TO
nn
"Negative jump"
Jumps to FLAG nn when the value in
the buffer register is negative.
Advances to the next instruction when
it
is
zero or positive.
Input key operation;
[oF
~~
ro)
IF ERROR GO TO
nn
"Error jump"
This instruction judges if the machine
satisfies one of ERROR conditions at
this step, and jumps to FLAG nn when
an error has occured. Advances to the
next instruction when without error.
The following process is essential when
using this instruction.
Usually, the calculator will stop when
there is an error. Use the SET ERROR
DISABLE (SED) instruction so that the
calculator wou Id not stop with an error.
This is the preparation before checking
an error.
1)
When the calculator made a deci-
sion that an error had occured,
clear the erroneous condition by
RESET ERROR instruction and
then reset SE D function by RESET
ERROR DISABLE (RED) instruc -
tion so that the next error would be
traced out.
RESET ER ROR in-
struction should be put before RED
instruction.
2)
When an error had not occu red,
RED instruction should be put
after judging IF ERR
0
R to trace
out the next error.
.1'\
21

Advertisement

Table of Contents
loading

Table of Contents