EasyManua.ls Logo

Sharp CE-150 - Page 356

Sharp CE-150
412 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...
A
ll
and more about Sharp PC-1500
at
http://www.PC-1500.info
5-3. Expression
of
variable and program
116
5-3-1. Expression
of
decimal number
Dcc
in
lal n
un
lbcr consists
()
f eight bytes
\vhic
h arc
u::;cd
to repres
en
t nun
1bcr
'vi
thi
n a ra
nge
of
- 9.999999999 X I0
9
'
to + 9.999999999 X 10
'"
and
ar
e composed
ofth
cc
xponenl pan.
inant
iss
a si
gn
and n1ant
iss
a pare
:
_J
Exp
o
nent
pa.rt: cxpfCSSCd
n~
o bi
na
ry
nu
n1b
¢r
.
-
-=====-....'._,
-
l
l
L Mantisso
OO
H
Ne
g
at
ive
rlumbc
r is repr
es
e
nted
by
co
mp
1
cmc
1
~
t.
Mant
issa si
gn
Ex
ponen
t
M
(ln
1issa si
gn
:
OOH
(
Po
sit
i
·.
•c)
SO
H (
Ne
g\'ltivc)
(Example
when
numeric
is stored
from
7
AOOH
to
7 A07H)
7A
O~
7A0
7H
[ 0 3 H
.
1 5 H
OOH
OOH j
OOH
OO
H 1
500
OOH
OOH
r 0 0 H
OOH
i 1 2 H
3
4H
!
Ss
H l
oo
H '
ooH
QOM
1.
234
56
1
F
OH
OOH
I 2H
3 4 M
56
H 7
8H
j
90
H OOH
0.
00
1
23
4
5$7890
12
L 0 8 H
80
H
12 H j 3 4 H
OO
H
00
H j
00
H OOH - 1.2
34
X10"
5-3-2. Expression
of
binary number
llin
ar
y nuntbcr consis
ts
of t
igh
t hyt
cs:.
but
fi
ve byt
es
arc not
used
.
le
ex
pre
ss
es a binary
nu
1n
bt
r \Vilh
in
an
int
eger
ran
g..:
of - 32
768
thru +32767.
Ne9
a1i
ve
nt
1
n)
bC
f is cxpessad
by
a
comp
l
eo
~
en
t.
l
nv
a
liCS
<!'1ta
(Example
when
numeric
is
stored
fr'om
7A00H
to
7A07H)
71\
00H
7
A0
7H
*
.,-
* T * * j
B2
H 0 5 H j DCH j *
I
**
;
,-
* I *
B2H
FF
H I F
BH
I *-
f-
] * * -B 2
~1
7 F H . f F H *
-I
* * 1 * *
B2H
l 6 0 l
i!
O
OM
I *
NO
TE:
No
ted
\•1
ith
an
asterisk (* ) i
nd
i
ca1
es invali(i d
ata
.
1500
- 5
327
67
-
32768
5-3-3. Expression
of
character string
(:haractcr st
rin
g.
in
f or
rna
tio
n
is
co
nlp
o
sc:
d of eight byt
c..·
s ( 'vit h four hyt
es
of valid da
ta
) and
it
r
cs
id
t-s
in
th
e address
<.:o
ntai
ne.:d
in
t
he
character s
tri
ng i
nJo
rn1
ation.
*
* *
*
Invalid
data
DO
H
ADD
H A
DDL
L<NG
TH
S
•
~e
ol
c.:
ha
rac
1er
strinrr
01
H
thr'l
l
5011
L
ead
ing
address
of
character
stri
ng
:
[)oH
L
e
~1(f
i
ng
"-cldress-
t:$
ize or
OOOO
M tl)fu FFFFlt
c f
ch.;1r
.;1ct
er
c.:
h
~1ra
c!et
siri
ng
si
ri
ng
Examp
le
lhat
lhc
character
string
lnfor'mation
resides
in
the
ari
thmetic
r
eg
ist
er a
nd
l
he
ch
ara
cte
r s
iring
·'
SHARP''
resides
in
the
string
buffer.
7A
00H
l * I *
""!-
*_'_ *_
7
A0
71i
DO
H 7 Bfi j I OH
05
H
7B1
CH
70
14
H
53H 48H 41H 52H
S~H
$ H A
i1
i'
Do
not sale this
PDF!!!