Download Print this page

Sharp CE-150 Service Manual page 370

Color graphic printer

Advertisement

130
All
and more
about Sharp
PC-1500
at
http://www.PC-1500.info
(i)
ENTRY
ADDRESS
D461H
S
ubroutirtt;
n1ust
be
called
in
the
follo,ving
forn1at:
S
J
P
D46
I
JI
DB
FAM
DB
DAL-'\
..
..
.
.
(Decides
the
address
to
rclllrn when
a
n
error
is me
t.)
(i)
EXIT
STA
TE
\Vhcn
no
error
·rhc
leading address
of the
variable
is
stored
in the
Urcg.
a
nd
the
variable
nan1
c
a
nd
the data
size
is
stored
in
t hi..~
a
rithf'll.
i ..
' t ic
register
x. r
1ic11.
it
returns
to
the
add
ress that
follows Dll
DAT
A.
7A05H
7A
06H
7A
07H
UH
U
L
10001000
Nurneric
variable
UL
t
OXXXXXX~
Nonnumedc
vat
iablc
Leading
addn
.~ss
Size
sec
ured
of
variable
for'
the
variahle
\\lhen
error
Returns
to the
add
ress
that
data
pl
us
o ne is
added
to
thc
·"data
'
''rittcn
ad<l
rcss""
aftcr
s
toring
t
he
e rro
r
code is
store:d
itk
lJ
l-1
.
Key
scan
(
I)
(j)
ENTRY PR EPARATION
'.\
one
(j)
ENTRY
ADDRESS
E42CH
CD
EXIT
STATE
• ·rhc kt·y
code
of
the
ke.y
that
dep
ressed
at
that
ti1ne
is stored
in
the
accu
rn
u
O~ to
r.
If
there
is
no
key
depression.
"0011
"
\viii
be s
to
n::d
in
t
he:
a
ccu1n
ul;1tor.
Key
scan
(II)
(])
ENTRY
PREPARATION
\ «H
l
l.:
<!)
ENTRY ADDRESS
E243H
CD
EXIT STATE
i
·hc key
code
of ne\vly
depressed
key
is
St()red
in
the < tccun1illat<,r.
A
ltht)ug
h
it
does
not rL'turn
unti
I
a
ne:<
t
kL'y
is
depressed.
it
111a
y
~nd
in
auto-p<>,v<:r-ofT
unless
a
key is
<lcpn:~scd
'
"ithin seven
rninutc~.
(llo'''cvcr.
the
prcvi()\IS
s1;:ttt~
rt·
: s11n1c:s
\vith
_._
depression
of
t
hL'
I
r~
I
kt~'·
~
-
'
.
When
the
@
key is
pushed
.
PB7
of
the
PC-1
500
IF
register
(ti
FOO
ll
H)
will be
set.
NO
TE:
So
tong
as
P87
of
the
address
::fOOBH is
set. "OEH
.. '.vi
ii
be
sto(ed
i
n
the
acc
unl
t,
.
ilator.
PB7
or
the
address
;;FOOBH
will
be
reset
when
..
ANI
"FOOBH.
FDW
is
execu
ted.
Do not sale
this PDF!!!

Advertisement

loading