Download Print this page

Motorola EXORdisk II User Manual page 40

Advertisement

GENERAL SYSTEM OPERATION
2.8 -- Typical Command Usage Examples
complete description of the
EXBIN
command.
2.8.6 LOAD --
Program loading/execution
The LOAD
command
is
used
to
load
programs
from
a
memory-image
file
on
the
diskette into memory.
After the
program has been loaded,
the
debug
monitor
can
be
given
control
(-FOT"
testing
the
program),
or the program can be
given control directly (Tor execution>.
The
format
of
the
command line for program loading is:
LOAD
<name> Li<options>J
The
name of the file
~hose
contents are to
be
loaded is
given as <name::>.
The default suffix
tlLO"
is
automatically
supplied
by
the
LOAD
command.
Thus~
in normal software
develop~ent,
only a file's original source
program
name
is
required
to
take
a
user
through
the
Tour
processes
of
editingl assembling,
object
file
conversion.
and
program
loading.
The
<options> field of the LOAD command line is used to
specify whether the debug monitor pr the loaded program is to
be given control,
and whether or not the program overlays the
resident operating syst,em.
If the. file
TESTPROG
Trom
the
previous
examples
was
origined
to
the hexadecimal memory
address $100,
the following command line:
LOAD TESTPROGiV
would be used to load the program.
The "V" option is used to
specify
that
the
program
to
be
loaded
will overlay the
resident operating system.
If
the
"V"
option were
left
off
the
command
line,
an error message Ulould be displayed.
The
absence of the "G" optibn letter means that the debug monitor
will
be
given control after the program is loaded.
SOJ
the
above example would be used to load TESTPROG into memory
for
testing.
If,
on the other handl
the program TESTPROG has already
been tested and Ulorks, the command line:
LOAD TESTPROGiVG
UJould be used to load and execute the program.
No
operator
inte~vention
is
required
to speciry the starting execution
address.
This is only true if the starting execution address
has been specified on the
END
statement
Or
the source program
during the assembly process.
Typically, most user-written
programs
that
have
been
developed
prior to receiving the
MDOS
system would be loaded
and tested in this fashion.
Programs that are developed with
Page
02-21

Advertisement

loading

This manual is also suitable for:

Exordisk iii