2·2 When Jumping Over To Another Page; 2·3 When Using Memory Of Another Page; How To Use; 3·1 Prog Ram·page N Instruction - Canon Canola SX-300 series Instructions Manual

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

Advertisement

2·2 When Jumping Over to Another Page
When jumping over to FLAG, SP in another
page, put the page instruction immediately be·
fore the ju mp instruction. (For details refer to
the following "3. How to Use Page Instru·
ctions"
.J
In
B
RANCH instructions, the step of the ju mp
destination is designated in four digits including
PAGE, just as in step setting. Therefore, page
instruction is not required.
Moreover, the symbol search for jump is per·
formed within one page. Therfore, it does not
matter even if the same symbol is on another
page.
2·3 When Using Memory in Another Page
Change the data page using the DATA·PAGE
instruction. This can also be performed by using
the INDI RECT instruction. (Explained later. P43)
3. How to Use Page Instruction
3·' PROGRAM·PAGE n Instruct,ion
Jump·symbol is searched for within the selected
page. When jumping within a page, program page
instruction is not necessary. Program page in· .
struction is used when it is necessary to ju mp to
another page during program execution. Page
instruction is not used for manual selection of a
program. (See V
§
2 '-1 P39)
(1) Unconditional jump (GO TO nnJ: Set program
page instruction before jump instruction and
appoint page to jump.
2 page
o
page
Executes the 2 page
(2)
Conditional jump
(I
F GO TO nn): Order of
instructions
is same
as in
(1).
When
the
condition is met, it jumps to
F
LAG in instructed
program page. When not, the program page in·
struction is nullified and it advances to the next
instruction.
o
page
YES
,
,
: Executes the 0 page
(3) Subroutine (GO TO SP
routine, place program
1 page
,
I
,
I
Executes the 1 page
nn): To jump to sub ­
page instruction before
GO TO SP nn instruction. To return, program
page instruction is not necessary. After return ­
ing, program page also returns to original page
automatically.
1 page
o
page
S P
07
Instruction of the next s t e p : : } !
:
r-----'---...,
: Executes the 0 page
....._ _ E_P _ _0_7 _ _.....
fI
8
G
G
a
a
CI
9
CJ
a
I
I
8
tJ
a
e
G
(I
o
G
a
"
fa
e
o
42
CI

Advertisement

Table of Contents
loading

Table of Contents