Sharp MZ-700 Series Owner's Manual page 156

Personal computer
Hide thumbs Also See for MZ-700 Series:
Table of Contents

Advertisement

Name and entry point (hex.)
Function
Register
saved
CALL ASC
(03DA)
Sets the ASCII character corresponding to the hexadecimal
number represented by the lower 4 bits of data in ACC.
Other
than A F
CALL HEX
(03F9)
Converts the 8 data bits stored in ACC into a hexadecimal
number (assuming that the data is an ASCII character), then
sets the hexadecimal number in the lower 4 bits of ACC.
The C flag is set to 0 when a hexadecimal number is set in
ACC; otherwise, it is set to 1.
Other
than AF
CALL HLHEX
(0410)
Converts a string of 4 ASCII characters into a hexadecimal
number and sets it in the HL register. The call and return
conditions are as follows.
DE
Starting adress of the memory area which contains
the ASCII character string
(e.g.,
"3"
"1" "A"
11
5" )
C A L L
H L H E X
T _
D E
CF = 0
HL
hexadecimal number (e.g., HL = 31 A5H )
CF = 1 The contents of HL are not assured.
Other
than A F
and
H L
CALL 2HEX
(041F)
Converts a string of 2 ASCII characters into a hexadecimal
number and sets it in ACC. The call and return conditions
are as follows.
DE
Starting adress of the memory area which contains
the ASCII character string, (e.g.,
"3"
"A"
)
C A L L
2 H E X
L D E
CF = 0
ACC •«- hexadecimal number (e.g., ACC = 3AH )
CF = 1
The contents of the ACC are n o t assured.
Other
than AF
and DE
CALL ??KEY
(09B3)
Blinks the cursor to prompt for key input. When a key is
pressed, the corresponding display code is set in ACC and
control is returned to the calling program.
Other
than A F
CALL ?ADCN
(0BB9)
Converts ASCII codes into display codes. The call and return
conditions are as follows.
ACC «- ASCII code
CALL ? ADCN
ACC
Display code
Other
than AF
CALL ?DACN
(OBCE)
Converts display codes into ASCII codes. The call and return
conditions are as follows.
ACC
Display code
CALL ? DACN
ACC
ASCII code
Other
than A F
CALL ?BLNK
(0DA6)
Detects the vertical blanking period. Control is returned to the
calling program when the vertical blanking period is entered.
All
registers
CALL ?DPCT
(ODDC)
Controls display as follows.
All
registers
CALL ?DPCT
(ODDC)
ACC
Control
ACC
Control
All
registers
CALL ?DPCT
(ODDC)
C O H
C I
H
C 2
H
C 3
H
C 4
H
C 5
H
Scrolling
Same as the D key.
Same as the Q key.
Same as the Q key.
Same as the Q key.
Same as the | HOME | key.
C 6 H
C 7 H
C 8 H
C 9 H
C D H
Same as the | CLR j key.
Same as the ! DEL | key.
Same as the 1 INST [ key.
Same as the | ALPHA | key.
Same as the |CR| key.
All
registers
CALL ?PONT
(0FB1)
Sets the current cursor location in the f
conditions are as follows.
CALL ? PONT
HL •«- Cursor location (binary)
L register. The return
Other
than A F
and HL
153-

Advertisement

Table of Contents
loading

Table of Contents