EasyManua.ls Logo

Casio FX6300G - Page 132

Casio FX6300G
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Example program 1
Memory A is used as the data control memory, and memory B is used for tem
porary storage of the x data. The x data are stored in memories C[1] (memory
D) through C[15] (memory R), and the y data are stored in memories C[16] (memory
S) through C[30] (memory Z(7)).
1, A, Defm, 7, :,
Lbl, 1, ?, - , C, [, A, ],
?, C, [, A, +, 1, 5, ],
Isz, A, A, = ,1 ,6 ,= *, Goto, 2, :, Goto, 1, :,
Lbl, 2, :, 1, 5, - , A, :, ?, - , B, :,
B, =, 0, =>, Goto, 5, :,
Lbl, 3, :, B, =, C, [, A, ], =>, Goto, 4, :,
Dsz, A, :, Goto, 3, :, Goto, 2, :,
Lbl, 4, :, C, [, A, + ,1 ,5 ,], A, Goto, 2, :,
Lbl, 5 98 steps
In this program, memories are used as follows:
xdata
C[1]
C[2]
C[3] C[4] C[5] C[6]
C[7] C[8]
D
E F
G
H I
J
K
C[9]
C[io] C[11] C[12] C[13] C[14] C[15]
L
M
N 0
P
Q R
V data
C[16] C[17]
C[18] C[19]
C[20] C[21] C[22]
C[23]
S
T
U
V W X Y Z
C[24]
LO
CM
O
CO
CM
O
C[27]
C[28]
C[29]
o
CO
o
Z(1)
Z(2) Z(3)
Z(4) Z(5) Z(6) Z(7)
Example program 2
The same memories are used as in Example 1, but two types of memory names
are used and the * and y data kept separate.
1, A, :, Defm, 7, :,
Lbl, 1, C, [, A, ], :,
R, [, A, ], :,
Isz, A, :, A, =, 1, 6, =>, Goto, 2, :, Goto, 1, :,
Lbl, 2, :, 1, 5, - , A, :, ?, - , B, :,
B, = ,0 , =>, Goto, 5, :,
Lbl, 3, :, B, =, C, [, A, ], =>, Goto, 4, :,
Dsz, A, :, Goto, 3, :, Goto, 2, :,
Lbl, 4, :, R, [, A, ], A Goto, 2, :,
Lbl, 5 92 steps
- 1 3 3 -

Related product manuals