EasyManua.ls Logo

Sharp PC-1500 - Page 135

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...
130
All and more about Sharp PC
-1
500 at http:
/l
www.PC-1500.info
CD
ENTRY
ADDRESS
D461H
Subrout
ine must
be
ca
lled in
th
e
follow
i
ng
format:
SJP
046
1 H
DB
FAH
UB
DATA
.
..
..
(Decides
th
e address
to
return when an
erro
r is met.)
CD
EXIT
ST
ATE
When
no
er
ror
The
l
ead
i
ng
address
of
t
he
va
riable is stored in the Urcg. and the variable n
ame
and
the data
si
:.:c
is stor
ed
in
the
ar
i
thmet
ic regist
er
X. Then, it
re
turn
s to
th
e
ad
d
res:;
that
follows
DB
DATA
7
A!l
5H 7
A0'6H
7
A0
7H
UH
Ul
i 10001000
Numeric variable
UH UL
I o
xxxxxxx
I
Nonnumeric vari
ab
le
Leadi
ng
ad
dr
ess Size secured
of variable
for
the
v
ar
i
ab
le
Wh
en
er
ror
Returns to the
addr
ess
that data plus one
is
added
to
t
h
e~
data
wri11cn addre
ss
"
af
ter
stori
ng
the er
ror
code
is
stored in U H .
Key
scan (I)
CD
ENTRY
PREPARAT
I
ON
No
ne
0 ENTRY
ADDRESS
E42CH
CD
EX
IT
ST
A
TE
The
ke
y code
of
the key that de
pr
essed
at that
tim
e
is
stored
in
the accumulato
r.
If there is no key depre
ss
ion.
"'OOH
"'
wi
ll
be stored in
th
e accurnulalO
r.
Key
s
can
(II)
CD
ENTRY
PREPARAT
I
ON
1\one
CD
ENTRY ADDRESS
E
243
H
CD
EXIT
STATE
The
key code
of
newly depre
sse
d
ke
y
is
stored
in
the accumul
ator.
A lthough il
do
es
not rct
urn
unti
l a next key is depre
ssed.
it may end in
auto
-power-
off
un
less
a
ke
y
is
dep
ressed
wi
thi
n
seve
n minutes . (However. the previous state resumes wi1h
..
,M
dep
ress
i
on
of 1hc
(][)
ke
y .
..
,_
Wh
en the
(][)
key is pushed.
PB7
of
the PC-1500 IF rcgis
1er
(
ll
FOO
BH)
wi
ll
be
se
t.
NO
TE:
So
long
as
PB
7
of
the address
#F
O
OBH
is
set,
"O
EH" will
be
siored in the
accumulator.
PB?
of the address #
FOOBH
will
be
resel
wh
en "ANI
~
FO
OB
H
.
FDH" is execu
te
d.
Do
not sell this PDF !! !