EasyManua.ls Logo

Sharp CE-150 - Page 365

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...
All and more about Sharp PC
-1
500 at http://www.PC-1500.info
•
Set
up of
funct
ion
Function
ASC
LEN
0 ENTRY ADDRESS
D9DDH
0
EXIT
STATE
• W
he
n no error
UH=
OO
H
YL
60H
64 H
Re
su
lt
is stor
ed
in
ar
ithmetic rcistcr X
(7AOO
ll - 7A07H) in decimal
figu
re.
•
\\
'hen
erro
r
UH¢ O
OH
(U
H=error code)
• RIGHTS (Character st
rin
g. nu
me
ric
value-I)
LEFT
S
{C
h(lr
::t
<.:
lr:.r
s
tr
ing.
1n
1
111c
ric value- I }
MIDS
(C'
ha
ra
ctcr s
tri
ng. nun1cric va
hic
-2. n
1.1n
1
cr
ic value-
I)
(j)
ENTRY PREPARATION
•
Se
tup
of
fun
c
ti
on
Function
YL
RI
GHTS
02
H
LE
FTS
7AH
MI
OS
79H
• Existe
nc
e
of
avai
1<1bi
lity for 8 bytes in the B
AS
IC stack (7A3
8H
- 7AFFH) is
che
cked.
• In
th
e case of
RI
GH
TS
. LEFl'S
(D
ata of
78
90H) <
(d
ata of 7
891
H)
- 8
• ln thc casc o
l'M
I
DS
(D
ata
of
78
90
11
) < (data of
78
91
H)
-
16
Sin
ce
re-w
ri
te
of
78
90H
and
7891
H is not penniued. it must be avoided to call this
su
hroutiu
c,
unless t
ht:
aho
v
c:
condition is s
at
is
fi
ed .
125
Do
not sale th
is
P
DF!!!