
C-2
Motorola DSP56000 Family Optimizing C Compiler User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Motorola
sequentially in the order given and all files will be used to generate the output listing and
object file.
The assembler will redirect the output listing to the standard output if it is not redirected
via the -L command line option described below. Error messages will always appear on
the standard output regardless of any option settings. Note that some options (-B and -L)
allow a hyphen as an optional argument which indicates that the corresponding output
should be sent to the standard output stream. Unpredictable results may occur if, for
example, the object file is explicitly routed to standard output while the listing file is
allowed to default to the same output stream.
C.1.1.1 asm5600 Options
Any of the following command line options may be specified. These can be in any order
but must precede the list of source file names. Option letters may be entered in either
upper or lower case.
Option arguments may immediately follow the option letter or may be separated from the
option letter by blanks or tabs. However, an ambiguity arises if an option takes an optional
argument. Consider the following command line:
asm56000 -b
main io
In this example it is not clear whether the file
main
is a source file or is meant to be an
argument to the -B option. If the ambiguity is not resolved, the assembler will assume that
main is a source file and attempt to open it for reading. This may not be what the
programmer intended.
There are several ways to avoid this ambiguity. If main is supposed to be an argument to
the -B option, it can be placed immediately after the option letter, without intervening
white space:
asm56000 -b
main io
If there are other options on the command line besides those that take optional arguments,
the other options can be placed between the ambiguous option and the list of source file
names:
asm56000 -b
main
-v
io
F
Freescale Semiconductor, Inc.
n
.