ic960 Compiler Driver
3-57
3
Default
After the link phase of the compilation process is complete, the compiler
produces an executable COFF file. (Assembly language output is not
saved.)
Discussion
If you specify S (Save-assembly), the compilation process terminates after
the compiler generates assembly code and writes the output to a file. If
you do not specify a filename with the
o (Output) option, the compiler
writes the assembly language output to
filename
.s, where
filename
is
the source filename without its extension.
Use the
M (Mix) option to create a mixture of assembly language source
code and corresponding C source code.
Examples
1. The following example creates the assembly language output from
proto.c into proto.s:
ic960 -S proto.c
2. The following example creates proto.s, the assembly language file
for
proto.c, and t1.s, the assembly language file for t1.c, in the
current directory:
ic960 -S proto.c -t1.c
Related Topics
M (Mix) o (Output)