EasyManuals Logo

Sharp MZ-80B Reference Manual

Sharp MZ-80B
94 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
Page #20 background imageLoading...
Page #20 background image
15
1.3 Monitor Subroutines
MONITOR SB-151 0 subroutines are listed in Table 1.1.
The
subroutine names indicated are the
same as the labels shown in
the
monitor
program assembly listing in
the
Appendix. Each name
is
a
mnemonic representing
the
subroutine's function.
To
call a subroutine, use
the
CALL statement
as
follows :
CALL
subroutine address
For
example,
to
call LETNL, issue
CDB008
....
CALL 08BOH
Care must be taken with register contents
just
before a subroutine
is
called, since some registers are
modified
by
some subroutines.
The
number
of
stacks required
for
each subroutine
is
also shown in Table 1.1. Required stack area
memory capacity
is
indicated in Table 1.1.
(For
example, subroutine LETNL requires 8 stacks
as
·
shown in Table 1.1. Each stack requires 2 bytes. Then, 8 x 2
= 16 bytes are required for tlie LETNL
stack area.)
Table
1.1
Monitor Subroutine List
Subroutine name
Number
and address
Function
of
Stacks
(in hexadecimal)
CALL LETNL Moves
the
cursor
on
the
display screen
to
the
beginning
of
8
$08BO
the
next
line.
All register contents
other
than
those
of
the
AF
register
are protected.
CALL
PRNTS Displays a blank
in
the
current
cursor position and ad-
3
$08B9 vances
the
cursor one character.
CALLPRNT
Displays the character corresponding
to
the
ASCII code 3
$0916 stored in the A register
at
the
current cursor position.
(For
ASCII codes, refer
to
FIGURE OWNER'S MANUAL.)
continued
--7

Other manuals for Sharp MZ-80B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sharp MZ-80B and is the answer not in the manual?

Sharp MZ-80B Specifications

General IconGeneral
BrandSharp
ModelMZ-80B
CategoryDesktop
LanguageEnglish

Related product manuals