Download Print this page

Motorola EXORdisk II User Manual page 181

Advertisement

LOAD COMMAND
18. 1 -- Use
outside
of
the
contiguous
memory
programs cannot be executed directly
interpreter.
known
to
via
the
MDOS.
Such
MOOS
command
The
"V"
option
will inhibit the memory boundary tests
explained in the previous section.
A program loaded with the
UV"
option,
however,
must
still
meet
the
following
requirements:
1.
The program must load
ab.ove
the
RAM'
variables
required
by
the
diskette
controller.
That is,
the program
must
be
assembled
to
load
above
hexadecimal location
$lF.
The program can access
the
direct
addressing
area
below
hexadecimal
location
$20
during executioni howeverl that area
of
memor~
cannot be loaded into.
Thus, variables
in
the
direct
addressing
area
cannot
be
initialized during loading if their addresses are
between $0000 and $OOlFI
inclusive.
2.
The
program's ending load address; as calculated
from the parameters
in
the
RIB,
must
not
be
greater
than
$FFFF.
SpecificallYI
the starting
load address plus the number of sectors
to
load
. minus
one
(expressed in numbers
Or
bytes),
plus
the number of bytes to load from the last
sector
minus
one,
must
be less than or equal to
SFFFF
(see section
24.2>'
If either of these criteria
is
not met,
the
standard
error
messages will be displayed indicating that the program has an
invalid load address.
If
the program is to be loaded for testing, only the
"V"
option should be specified.
Thus,
the command line
LOAD TESTPROGiV
will
cause the debug monitor to be entered after the program
is loaded from the file TESTPROG.LO from logical
unit
zero.
The pseudo registers will contain the following values:
Pseudo register Contents
p
X
S
A,B,C
Y
U=S
DP=O'
Starting execution address
Lowest address loaded into
EXbug
stack address
Indeterminate
Indeterminate (MDOS09)
MDOS09 only
MDOS09
only
Since the memory boundary check
is
bypassed with the
"VII
Page
18-05

Advertisement

loading

This manual is also suitable for:

Exordisk iii