Section 2: Compiler
47
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
z
Optimize the generated code for size, possibly at the
expense of speed.
z
disables the in-line string copy
routine, the unrolling of structure copy loops, and the
expansion of multiplication by constants (except where
the expanded code is more compact). The stack cleanup
coalesce option is enabled. Except for disabling the
unrolling of structure copy loops, which can only be
accomplished with this flag, the
-Oz
flag is equivalent to
-Oi0c1m0
.
-p
proc
Not supported by Texas Instruments, however,
-p
proc
is recognized
as a reserved flag by the compiler.
-P
Strip #line directives and multiple sequential blank lines out of
preprocessed C source files. The
-E
flag is implied.
-q
Generate full source-level debugging information to allow the
compiled program to be debugged with the TI FLASH Studio
source-level debugger. Optimizations that would confuse a
source-level debugger are disabled when the
-q
flag is specified.
-q1
Generate full source-level debugging information for everything except
automatic variables and allow the compiler to operate with all
optimizations enabled. When debugging with the
-q1
flag, the
locations (register or stack offset) of automatic variables can be easily
determined by issuing the TI FLASH Studio low-level-display
command and examining the C statements with the corresponding
assembly code intermixed.
-Q
Suppress the Sierra Systems copyright notice when the compiler is
invoked.
-s
Preprocess and parse the C source file, but do not generate an
assembly language output. This option should be used to save time
during initial compilations when syntax errors are expected.
-T
Process ANSI trigraphs, e.g., map ??( to [ and ??) to ].
-u
Print command line usage information.
-U
name
Undefine the name
name
that was previously defined on the
command line using the
-D
flag.
-X
Turn on the following specified compiler options.
-Z
Turn off the following specified compiler options.
A
The
-XA
flag causes address pointers to be returned in
register d0 instead of register a0.