Usage; Default Behavior - Texas Instruments TI-89 Software Manual

Sierra c assembler
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

42
arguments. Other flags take no arguments. Flags may be grouped together
following a single hyphen; however, any flag that accepts an optional argument
must be the last flag in a group. The TI-89 / TI-92 Plus SDK includes example
invocations of the compiler. It is highly recommended that you only use the flags
as shown in those files.
The following command compiles the C source from the file demo_in.c and
places the generated 68000 assembly code into demo_out.s:
The two flags listed on the command line cause the C source to be listed in the
output file as comments, and full optimization to be applied to the program,
respectively.
The command can also be specified as follows without changing the behavior of
the compiler:
These two command lines demonstrate both how flags can be grouped together
using a single hyphen ( - ) and that they can appear anywhere on the command
line.
When two or more contradictory flags are specified on the command line, the last
flag entered determines the behavior. For example, if the -Op0 flag (turn off
post-code-generation optimizations) is followed by the -Op1 flag (turn on
post-code-generation optimizations), the -Op0 flag is ignored. This feature may
be useful in some cases, for example, you may wish to override a flag contained
in a file included with the -i flag.
2.3.1.

Usage

The following is a summary of the command line usage information for the
compiler (see -u flag):

usage:

2.3.2.

Default Behavior

If no command line flags are specified, the compiler defaults to the following
settings:
68000 default settings:
TI-89 / TI-92 Plus Sierra C Assembler Reference Manual
com68 -l -O demo_in.c demo_out.s
com68 demo_in.c -lO demo_out.s
com68 [-fCcas#] [-CEPQTlq#su] [-Idir] [-D name [= def ]]
[-U name ] [-Xabcdef#ilpr#uw#AC#ILNRSWs#E#2]
[-ZabcdefilpqruwAILNRSsW2] [-O[a#c#f#i#l#m#p#r#s#t#x#zA]]
[-i cmd_file ] [ infile [ outfile ]]
com68 -fc3 -Oa2c0f0i1l1m1p1r2s2x0
Not for Distribution
Section 2: Compiler
Beta Version February 2, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-89 plusTi-92 plus

Table of Contents