EasyManua.ls Logo

Sharp MZ-700 - Frequently Used BASIC Commands; Program File I;O Instructions

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...
2.3
Frequently
Used
BASIC
Commands
and
Statements
2.3.1
Program file input/output instructions
2. 3. 1. 1
LOAD
...............................
(abbreviated format:
LO.)
Format
Function
LOAD
or
LOAD
" filename"
This command loads
the
specified BASIC
text
file
or
a machine language file
to
be
linked with a BASIC program from cassette tape.
(See pages 14 and
20.)
Only
BASIC
text
files and machine language programs can be loaded with this
command. When the file to be loaded
is
a BASIC
text
file, the current program
is
cleared from
the
BASIC
text
area when
the
new program is loaded.
Note When loading a machine language routine
to
be linked
with
a BASIC program, the
LIMIT statement must
be
executed
to
reserve a machine language progam area
in memory.
Further,
the applicable machine language program file
is
executed
as
soon
as
loading is completed
if
the
loading address is inside
that
area. (In this case,
the
BASIC
text
is
not
erased.)
The
LOAD command can
be
used within a program to load a machine language
program file.
$0000
$1
2 0 0
1--------,-----------------1
Monitor
BASIC interpreter
BASIC text
area
LIMIT
($9FFF)
Machine
language
area
Note: The lower limit
of
the
BASIC
text
area shifts according
to
the
size the program
text
loaded.
28-----------------------------------~----------------
--
-------------

Other manuals for Sharp MZ-700

Related product manuals