Download Print this page

Motorola EXORdisk II User Manual page 100

Advertisement

CHAIN COMMAND
6.7 -- Examples
diskettes
we~e
to be assemblecl
the~e
might not be sufTicient
time Tor the operator to
s~ap
diskettes.
00" ____
The
following
example illustrates what is displayed on
the system console
~hen
the
CHAIN
is
invoked
without
any
parameters.
Since
this would
p~oduce
an empty intermediate
file,
the condition is tested
Tor
and an appropriate
message
displayed.
The
name
of the CHAIN file in the
directo~y
is
SYSGEN. CF.
=CHAIN SYSGEN
=
THIS CHAIN REGUIRES
AT
LEAST ONE OF THE FOLLOWING
PARAMETERS;
ASM -- CHAIN FOR ASSEMBLIES
CHA!N FOR PRODUCING MEMORY-IMAGE FILE
AND ONE OR MORE OF THESE PARAMETERS:
D1;
D2 -- DISK 1 and DISK
2
ALL
ALL FILES ON ALL DISKS
<name/ -- NAME OF FILE
THE FOLLOWING ARE OPTIONAL PARAMETERS
OPT -- ASSEMBLER
OPTIONS
The
next
example
uses
the
same
CHAIN
rile
againi
ho~ever,
this
time
the
parameters
~or
assembling
(ASM),
memo~y-image
rile
cT~ation
(LOAD), and
processing
all
~iles
i
n t h e s
y
stem (
ALL)
al' e s pee i
r
i
e d .
I n
.a
d d i t ion, the
0
p t ion s
~ield
or
the assembler will be
initialized
with
the
value
HLX"
to pl'oduce
a
listing and a cross
reTe~ence
table
on
the
line
pl'int.e~.
=CHAIN
SYSGENiASM,LOAD,ALLJDPT7.LX7.
CHAIN FOR ASSEMBLING
PROGRAMS
CHAIN FOR MEMORY-FILE CREATION
PROGRAM PROGl
PROGRAM PROG2
PROGRAM PROG3
PROGRAM PROG4
@SET FOFF 0600
@.
INSERT
DIS~
1 INTO DRIVE 1 -- DEPRESS ANY KEY WHEN READY
DEL
PROGl. RO: 1
PROGl
.RO: 1 DELETED
RASM NOL/EGU, LIS, PROG1: 1;RLXO=PROG1: 1
MDOS MACROASSEMBLER 03.00
COPYRIGHT B¥ MOTOROLA 1977
or)
@TST,FOOO 0000 0027
)
@.JMP
2F29
Page
06-20

Advertisement

loading

This manual is also suitable for:

Exordisk iii