Download Print this page

Sharp PC-1500 Technical Reference Manual page 131

Hide thumbs Also See for PC-1500:

Advertisement

126
All
and more
about Sharp PC-1500
at
http://www.PC-1500.info
Change of
ehe
daca
poimcr
(7892H)
Funclion
Dala
RIG
liTS
(data
of
78901-1)
+
8
LEFTS
MIDS
(d arn
or
78901-1)
+
t6
Preparation
of
cha
racter
srri
ng
"
Address
Data
(Data
of
7890H)
+
OOH
(Data o
r
789
01-1}
+
5
acter
string
(t1igh order o ne
Leading
ad dress o1 char
byte)
(Data of
7890M}
·•·
6
acter
s~fi
og
(lov.•
order
o
n
e
Leadi
ng
address
ot
char
byte)
(Data
o
f
789011)
+
7
l
Size
oi character
slring
NOTE:
High order
byte
of
address
is
7
A
H.
For
actual
clrnractcr
sering.
ehc
sering.
1hc
siring
buffer
(7
1llO
H
~71!5
FH
)
can
be
used.
Preparation of
HUJl)Cf
ical
data
N un1cric-
I
is
st<
1red in
7
A()()
H
"'7.
;
\07
1
I
in
decin1al
or bina
ry
figure.
(In
ehe case of MIDS.
ehc
numcric-2
is
s1orcd
frorn the
add
ress
of
··data
of
n90H
..
plus
eight
to the
ad<lrcss
..
data
of
7890H"
plus
fifteen.)
Stored
in the
above
address
in
a
decin1al
or
binary
fo rrnat.
0
ENTRY
ADDRESS
D9F3H
(i)
EXIT
STATE
\Vhen
no
error
U
H
=
OOH
Addl'ess
7A04H
7A05H
Data
DOH
Lea(li
ri
g
add
tess o
f
chal'actcr st
7A06H
ring
(high
order one
b yte)
tring
flow
order
o ne byte)
Leading
address
ot
character
s
7A07H
Size
o
f
ct,al'acter
stl'ing-
For
an
actual chamc1
cr sering. the
string
huffcr
(7
B
I
OH ~·71l5FH
)
can
be
used.
\Vhcn
error
Ull
' > "
OOH
(UH
is
suhstieuttd
with
error
code.)
NOTE:
I
z
z
c
c
-
3
3
$t(ICk
o
f
"
"
Stack.
of
>.
L_
~
;:;
I
GOSUB
...
Represented
.,
"'
Rcp
tesented
l>y
1hC
"
"
h
y
111e
"
"
poinlP.r
"
<>
po1n1
cf
(7800H)
" "
(
78
91
H
)
Do not sale this PDF!!!

Advertisement

loading