EasyManua.ls Logo

Sharp PC-1500 - Page 122

Sharp PC-1500
182 pages
Print Icon
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...
All and more about Sharp PC-1500 at http:/lwww.PC-1500.info
5-3-4. Structure of variable name
V;iriable name field is made of
two
bytes which co
ns
ists
of
va
ri
able name comp
osed
of
ASC
II character. distincti
on
of
nu
mer
ic
and nonnumer
ic
v
ari
able, and pr
ese
n
ce
of
array
as
.signmcnt.
-
----
H
ig
h order
By
t
e---
- -
----
- Low or
der
Byte
-----
D
Fir
st
ASCII character
Var
i
ab
le
na
r
ne
Code
A 4
tO
OH
Bl
4 2 1 1 H
cc
4 3 4 3 H
DD
( 1 )
4 4 C 4 H
E$
•1
520H
F F $ 4 6 6 6 H
--
GG
$ ( 2) 4 7 E 7 H
<!!
( 3) 4 0 8 0 H
ZZ$
( 4 )
SA E AH
-
(E
X)
W
he
n
arr
ay d
ecl
ared
to "AS(
1,
2) * 3"
2Byte
Va
r-
iable
n
arne
2Byte
3B
y
te
Byte count Second J
of whole su
t>
scnpl
memory
-r
3
F
i
rs~
subscript
Si
ze
of
cha
ra
cter
str
i
ng
(88 tor
numeric)
5-3-
5.
St
ru
cture of program
L
Second
:SCll
c
har
ac
ter
(low
orde
r 5
bits
}
0: Nornedc
va
riable
1: Nonnumeric variable
'--
--~1
7th
bi! lrorn the LSB of
th
e
sec<>nd
ASC
II
cod
e
3Byte
Da
ta
0: Not a
rr
ay va
ri
able nor @
1: A
rra
y variable
or
@
3Byte
_e
...
.
Each
of
program lin
es
is comp
osed
of
the
li
ne number, line
si7
.
e,
program codc,.and end
code.
Line nur
nber
Line si
ze
Program
co
de CIR
Li
nc n
um
ber Li
nc
size
1 0
PR
I
NT
A
2 O E N D The above programmed fines will
be
as 1ollows (without (module):
A
dd
res
:;
Data
40C5H
O O H
<OC6H
OA H
4 0 C
7 H
04
M
<OC8H
F
~~
40C9
.!:!_
t-
9 7 H
40CAH
lo
l H
40CBH
O O H
I-
4
OCCH
O O H
<OCO~
-
I 4 H
4 0
CE
H
l-
03
-H
40C
F H
I-
F l_ H
-!
40
00
H
8A
H
<O
O
IH
O O H
40
02
H F F
Ii
l 0
..
....
Line s1
ie
) 1>tt1
NT
. .
....
f\
....
.. CI R
l 2 0
···
· •• Ln
'lt
S
1
~
e
;
ENO
...... CIR
· ··
··
·
CO<f
e to .nd1C
rt
te
end
OI
l)
A$
1C
r
ir
og:
rtim
Do
not
sell this PDF !!!
117