i960 Processor Compiler User's Guide
3-50
3
M (Mix)
Mixes C source text with
assembly language
output.
-S -M
Default
Assembly language output does not contain interleaved C source as
comments.
Discussion
Use the M (Mix) option to modify the S (Save-assembly) option to put C
source text as comments into the assembly language output file. Using the
M (Mix) option without the S (Save-assembly) option has no effect.
Note that if you use the
O (Optimize) option with the M (Mix) option, the C
source text comments can be mismatched to the assembly language text,
since optimization can reorder and eliminate assembly language
instructions.
Example
The following example produces the assembly language file proto.s
containing C source text as comments:
ic960 -S -M proto.c
Related Topics
O (Optimize) S (Save-assembly)