EasyManua.ls Logo

Sharp MZ-700 - Page 155

Sharp MZ-700
213 pages
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...
Name
and
entry
point
(hex.)
Function
Register
saved
CALLASC
Sets
the
ASCII character corresponding
to
the
hexadecimal
Other
(03DA)
number
represented by
the
lower 4 bits
of
data
in ACC.
than
AF
Converts
the
8
data
bits stored in ACC
into
a hexadeCimal
CALL HEX
number
(assuming
that
the
data
is an ASCII character),
then
Other
(03F9)
sets
the
hexadecimal
number
in
the
lower 4 bits
of
ACC.
than
AF
The
C flag is set
to
0 when a hexadecimal
number
is set in
ACC; otherwise,
it
is
set
to
1.
Converts a string
of
4 ASCII characters i
nto
a hexadecimal
number
and
sets
it
in the
HL
register.
The
call and
return
conditions are as follows.
·
CALLHLHEX
DE
~
Starting adress
of
the
memory
area which contains
Other
(0410)
the
ASCII character string
than
AF
(e.g.,
11
3
11
11
1
11
II
A
II
11
5
11
)
andHL
CALL HLHEX
LDE
CF=
0
HL
~he
x
adecimal
number
(e.
g.
,
HL
= 31A5H )
CF
= 1
The
contents
of
HL
are
not
assured.
Converts a string
of
2 ASCII characters
into
a hexadecimal
number
and sets
it
in ACC. The call
and
return
conditions
are as follows.
Other
CALL2HEX
DE~
Starting adress
of
the
memory
area which contains
than
AF
(041F)
the
ASCII character string. (e.g.,
11
3
11
II
A
II
)
and DE
CALL 2HEX
LDE
CF=O
ACC
~hexadecimal
number
(e.
g.
, ACC = 3AH)
CF=
1
The
contents
of
the
ACC are
not
assured.
CALL
??KEY
Blinks
the
cursor
to
prompt
for key
input
. When a key
is
Other
(09B3) .
pressed,
the
corresponding display code
is
set in ACC and
than
AF
control
is
returned
to
the
calling program.
Converts
ASCII codes
into
display codes. The call
and
return
CALL?ADCN
conditions are as follows.
Other
(OBB9)
ACC
~
ASCII code
than
AF
CALL ? ADCN
ACC
~Display
code
Converts display codes
into
ASCII codes.
The
call and
return
CALL?DACN
conditions are as follows.
Other
ACC
~Display
code
(OBCE)
CALL
?DACN
than
AF
ACC
~
ASCII code
CALL ?BLNK Detects
the
vertical blanking period. Control
is
returned
to
the
All
(ODA6) calling program when the vertical blanking period
is
entered. registers
Controls display as follows .
CALL
?DPCT
ACC
.
1'11
Control
A~C
"'
Control
All
(OD
DC)
COH
Scrolling
C6H
Same as
the
I C
LR
I key.
registers
ClH
Same as
the
D key.
C7H
Same as the I DEL I ke
y.
C2H Same
as
the
D key.
C8H
Same
as
the
[JEill
key.
C3H Same as
th
e m key.
C9H
Same
as
the
I ALPHA I key.
C4H
Same
as
th
e m key.
CDH
·~
Same
as
th
e~
key.
C5H Same as the I
HOM
E I ke
y.
ft
Sets
the
current
cursor location in
the
HL
register.
The
return
Other
CALL?PONT
conditions are as follows.
(
OFBl)
CALL ? PONT
than
AF
HL
~Cursor
loc
ation
(binary)
and
HL
------------------------
----
------------------------
----
----------
--
- 153

Other manuals for Sharp MZ-700

Related product manuals