Download Print this page

Motorola EXORdisk II User Manual page 182

Advertisement

LOAD COMMAND
18. 1 -- Use
option, the program can be assembled to load
anywhere
above
location
$lFi
however, no check is made to verify that memory
exists
~here
the program is loaded.
One e programs have
been tested
I
th
e\l
can bee x ecuted via
the
LOAD command by speci'ying the additional option
"G",
as
in the following command line:
LOAD TESTPROGiVG
The "Gil
option will bypass entering
the
debug
monitor
and
cause
control
to
be passed directly to the loaded program.
The stack pOinter is still configured as explained above.
If the
"VII
option
is
used
(!JIith
or
without
the
"G
II
option)~
the
SWI
vector
will
be restored to its original
value that
points
back to the debug monitor.
Thus,
programs
loaded
with
the
"V"
option
cannot
use the resident MDOS
~unctions.
18.
1.:3
Programs in the User Memor"J Map
By
using
the
flU"
option
as
shown
in
the
following
command
line,
the LOAD command can be used to load
a
program
into the
User
Memory Map
Or
an
EXORcise~
II system
that
has
the dual memorq map configured:
LOAD TESTPROG;U
If
the
dual
memory map
is
not
'configured,
an
er~or
message
will be displayed.
The only requirement placed on programs
loading
into the
User
Memory
Map
is
that
the
ending
load address not be
greater
than
$FFFF.
Otherwise;
any
memorq
locations
(SOOOO-FFFF) can
be
loaded into;
however, no check is made to
ensure that memory exists where the program
is
loaded.
If
the
"Gil
option
omi tted,
the debug moni tor
wi
11 be entered
after the progTam is'loaded.
The debug monitor will
display
the
User
Memory
Map
prompt,
not the Executive Memory Map
prompt.
The pseudo
registers
will
contain
th~
following
values:
Pseudo register Contents
p
X
5
A, B, C
y
U=S
DP=O
Starting execution address
Lowest address
loaded into
Highest address loaded into
Indeterminate
Indeterminate
(MDOS09)
MDOS09 only
MDOS09 only
Page
18-06

Advertisement

loading

This manual is also suitable for:

Exordisk iii