ASM56000(1)ASM56000(1)NAMEasm56000 - Motorola DSP56000 Macro Cross Assembler
SYNOPSISasm56000 [ -A ] [ -B[<objfil>] ] [ -D<symbol> <string> ]
[ -I<ipath> ] [ -L[<lstfil>] ] [ -M<mpath> ]
[ -O<opt>[,<opt>...] ] <files...>
DESCRIPTIONasm56000 is a program that processes source program statements written
in DSP56000 assembly language, translating these source statements into
object programs compatible with other DSP56000 software products.
files is a list of operating system compatible filenames (including
optional pathnames) separated by blanks. If no extension is supplied
for a given file, the assembler will automatically append .asm to the
filename. If no path is specified for a given file, the assembler will
look for that file in the current directory. The list of files will be
processed sequentially in the order given and all files will be used to
generate the output listing and object file.
OPTIONS
Any of the following command line options may be specified. These can
be in any order, but must precede the list of source filenames. Option
letters may be specified in either upper or lower case.
-A Indicates that the assembler should operate in absolute mode,
creating a load (.lod) file if the -B option is given. By
default the assembler produces a link (.lnk) file which is
subsequently processed by the DSP56000 linker.
-B[<objfil>]
This option specifies that an object file is to be created for
assembler output. objfil can be any legal operating system
filename, including an optional pathname. Note that there can
be no intervening spaces between the -B and the optional
filename.
If a path is not specified, the file will be created in the
current directory. If no filename is specified, the assembler
will use the basename (filename without extension) of the first
filename encountered in the source input file list. The
resulting output file will have an extension of .lnk unless the
-A option is given, in which case the file will have a .lod
extension. If the -B option is not specified, then the
assembler will not generate an object file. The -B option
should be specified only once.
-D<symbol> <string>
This is equivalent to a source statement of the form:
DEFINE <symbol> <string>
The -D and symbol should not be separated by a blank. string
should be enclosed in quotes and preceded by a blank. string
must be enclosed in double quotes if it contains any embedded
blanks. The -D<symbol> <string> sequence can be repeated as
often as desired.
-I<ipath>
When the assembler encounters include files, the current
directory (or the directory specified in the INCLUDE directive)
is first searched for the file. If it is not found and the -I
option is specified, the assembler prefixes the filename (and
optional pathname) specified in the INCLUDE directive with ipath
and searches the newly formed directory pathname for the file.
The -I and ipath should not be separated by a blank. The
directories will be searched in the reverse order specified on
the command line.
-L[<lstfil>]
This option specifies that a listing file is to be created for
assembler output. lstfil can be any legal operating system
filename, including an optional pathname. Note that there can
be no intervening spaces between the -L and the optional
filename.
If a path is not specified, the file will be created in the
current directory. If no filename is specified, the assembler
will use the basename (filename without extension) of the first
filename encountered in the source input file list. The
resulting output file will have an extension of .lst. If the -L
option is not specified, then the assembler will route listing
output to the standard output. The -L option should be specified
only once.
-M<mpath>
This is equivalent to a source statement of the form:
MACLIB <mpath>
The -M and mpath should not be separated by a blank. The
directories will be searched in the reverse order specified on
the command line.
-O<opt>[,<opt>...]
The -O and opt should not be separated by a blank. opt can be
any of the options that are available with the assembler OPT
directive. If multiple options are specified, they must be
separated by commas. The -O<opt> sequence can be repeated for
as many options as desired.
SEE ALSO
Motorola DSP56000 Macro Assembler Reference Manual, Motorola Inc.,
1987.
lnk56000(1),lib56000(1)Motorola Inc. 1 June 1987 ASM56000(1)