7.139 -S

Outputs the disassembly of the machine code generated by the compiler to a file.

Unlike the --asm option, object modules are not generated. The name of the assembly output file defaults to filename.s in the current directory, where filename is the name of the source file stripped of any leading directory names. The default filename can be overridden with the -o option.
You can use armasm to assemble the output file and produce object code. The compiler adds ASSERT directives for command-line options such as AAPCS variants and byte order to ensure that compatible compiler and assembler options are used when re-assembling the output. You must specify the same AAPCS settings to both the assembler and the compiler.


The compiler does not accept this option in the Evaluation variant.
Related reference
7.6 --apcs=qualifier...qualifier
7.9 --asm
7.17 -c
7.79 --info=totals
7.83 --interleave
7.91 --list
7.110 -o filename
Related information
armasm User Guide
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.