Download Print this page

Sharp PC-1500 Technical Reference Manual page 130

Hide thumbs Also See for PC-1500:

Advertisement

All
and
more
about Sharp
PC-1
500
at
http://www.PC-1500.info
Set up
of function
Function
ASC
LEN
0
ENTRY
ADDRESS
D9DDH
0
EXIT
STATE
• When
no
error
UH=
OO
H
YL
60H
64
H
Result
is stored
in
arithmetic
rcistcr
X
(7AOOll
-
7A07H)
in
decimal
figure.
\\'
hen
error
UH¢
O
OH
(U
H=error
code)
RIGHTS (Character
st
ring.
numeric value-I
)
LEFTS
{Ch(lr::t<. :
lr:.r
string.
1n1111cric
value-
I
}
MIDS
(C'ha
ractcr stri
ng.
nun1
cric
va hic-2.
n1.1n1
cric
value-
I)
(j)
ENTRY PREPARATION
Setup
of
function
Function
YL
RIGHTS
02H
LEFTS
7AH
MIOS
79H
Existence
of
avai1<1bi
lity for 8
bytes
in
the
BASIC
stack (7A38H
-
7AFFH) is
checked.
In the case of
RI
GHTS.
LEFl'S
(Data
of
7890 H)
<
(da
ta of
7891
H)
-
8
ln
thc
casc ol'M IDS
(Data
of
789011
)
<
(data
of
7891 H)
-
16
Since
re-write
of
7890H
and 7891
H
is
not
penniued.
it
must
be
avoided
to
call
this
suhroutiuc, unless tht:
ahovc: condition
is
satisfied
.
125
Do not sale this PDF!!!

Advertisement

loading