User`s guide
MACRO
(MACRO)
Invokes the MACRO assembler to assemble one or more source files.
Format
MACRO filespec[s]
Command Options Input-File Options
/CROSSREFERENCE[:type[:type...]]
/DISABLE:type[:type...]
/ENABLE:type[:type...]
/LIST[:filespec]
/ALLOCATE:size
/[NO]/OBJECT[:filespec]
/ALLOCATE:size
/[NO]SHOW:type[:type...]
/LIBRARY
Parameter
filespec[s]
Specifies one or more files to be included in the assembly. If you omit a file type
for an input file, RT–11 assumes MAC for a source program and MAC or MLB
for a file used with /LIBRARY. Output default file types are LST for listing files
and OBJ for object files.
Assembling Multiple Source Files
• To assemble multiple source files into a single object file, separate the files
with plus (+) signs in the command line. RT–11 creates an object file with
the same name as the first input file and gives it an OBJ file type, unless you
specify a different name and type.
• To assemble multiple source files in independent compilations, separate the
files with commas (,) in the command line. This generates a corresponding
object file for each input file or for each set of input files.
Description
Language options are position dependent—that is, they have different meanings
depending on where you place them in the command line. Options that qualify a
command name apply across the entire command string. Options that follow a file
specification apply only to the file (or group of files separated by plus signs) that
they follow in the command string.
RT–11 Command Descriptions 179










