User`s guide

MACRO
To produce a listing on the printer, specify /LIST after the command
name. For example, the following command produces a printer listing after
compiling a MACRO source file:
.MACRO/LIST MYPROG
To produce a listing on a specific device, specify /LIST with the desired device
name. The following command produces a listing file on the terminal:
.MACRO/LIST:TT: MYPROG
If the device you specify is a file-structured one, RT–11 stores the listing file
on that device, assigning it the same name as the input file with a LST file
type. The next command creates a listing file called MYPROG.LST on DU1:
.MACRO/LIST:DU1: MYPROG
To produce a listing file with the same name as a particular input file to
which it alone applies, specify /LIST after the file specification to which it
applies. The following command assembles A.MAC and B.MAC, producing
files DK:A.OBJ, DK:B.OBJ, and a listing file for B only, DU1:B.LST. The
command does not produce a listing file for A.MAC:
.MACRO A,B/LIST:DU1:
To produce a listing file with the same name as a particular input file but
applying to all the files assembled, specify /LIST after the file specifications
joined by plus (+) signs. The following command assembles A.MAC and
B.MAC, producing files DK:A.OBJ and DU1:B.LST:
.MACRO A+B/LIST:DU1:
If the /LIST option contains a name and file type to override the default of
LST, RT–11 generates a listing file with that name. The following command,
for example, assembles A.MAC and B.MAC together, producing files A.OBJ and
AANDB.OUT on device DK:
.MACRO/LIST:AANDB.OUT A+B
You should be careful when compiling several files separated by commas. For
example, in the following case, FILE2.LST is first created when A.MAC is
compiled; then, FILE2.LST is replaced when B.MAC is compiled. The second
listing file replaces the first, leaving you with only the second listing:
.MACRO/LIST:FILE2 A,B
/[NO]OBJECT[:filespec]
/OBJECT specifies a file name or device for the object file. Because MACRO
creates object files by default, the following three commands have the same
meaning:
.MACRO A
.MACRO/OBJECT A
.MACRO A/OBJECT
182 RT–11 Command Descriptions