Section 2: Compiler
43
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
The command line flags for the default settings are defined as follows:
-fc3
When specified by the
-l
flag, C source lines with comments and blank
lines stripped out are indented by three tabs and placed into the assembly
language output listing.
-Oa2
Both short and int data are aligned to even boundaries.
-Oc0
Do not coalesce function call stack cleanups.
-Of0
Set up a stack frame only when necessary.
-Oi1
Generate in-line code for the strcpy function.
-Ol1
Move only constants out of inner loops. Full loop invariant optimizations
are not performed.
-Om1
Expand multiplication by a constant into a sequence of shifts and adds if it
results in faster execution.
-Op1
Perform all post-code-generation optimizations.
-Or2
Treat all qualifying automatic variables as register candidates.
-Os2
In the presence of a function prototype, arguments of type char and short
int are pushed onto the stack as two-byte objects.
-Ox0
Do not perform common subexpression optimizations.
2.3.3.
Description of Flags
-C
Leave comments in the preprocessed C source. The
-E
flag is
implied.
-D
name
[=
string
]
Define the name
name
. The
'='
and substitution string
string
are
optional; the name
name
is defined to be 1 if the optional string is
omitted. No whitespace is allowed on either side of the
'='
.
-E
Send the preprocessed C source to the output file. Do not compile.
See also
-P
flag.
-f
Format the source listings and source line numbers that are optionally
inserted as comments into the assembly language output. The
-l
flag
must be specified to enable the selected format.
a
Place C source line numbers next to the corresponding
assembly language statements.
c
Insert C source lines with comments and blank lines
stripped into the assembly language listing.