Assembler options for Hitachi SH
For example, in the following commandline, the assembler option,
-L
High-level listings require that a compiler debugging option like ‘
Compile using as to assemble gcc output.
If you invoke as through the GNU C compiler (version 2), you can use the -Wa option to pass arguments through to the assembler. One common use of this
option is to exploit the assembler’s listing features. Assembler arguments that
you specify with gcc -Wa must be separated by commas (the input, gcc, and the input, -Wa).
The additional assembler option -L preserves local labels, which may make the listing output more intelligible
to humans.
By itself, ‘-a’ requests listings of high-level language source, assembly language, and
symbols.
Request a high-level language listing.
Request an output-program assembly listing.
Request a symbol table listing.
Omit debugging directives from the listing.
Turn on listings from this point on.
Turn off listings from this point on.
Describe the page size for your output (the default is 60, 200). as generates form feeds after printing each group of linecount lines. To avoid these automatic form feeds, specify 0 as the linecount.
Skip to a new page (issue a form feed).
Use heading as the title (this is the second line of the listing output, directly after
the source file name and page number) when generating assembly listings.
Use subheading as the subtitle (this is the third line of the listing output, directly after
the title line) when generating assembly listings.
Turn off all forms processing.