Specifies the contents of an assembly listing file.
Windows: Output > Assembler Output
Linux: None
Mac OS X: None
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
None |
Windows: |
/asmattr:keyword /noasmattr |
keyword |
Specifies the contents of the assembly listing file. Possible values are:
|
/noasmattr |
No assembly listing is produced. |
This option specifies what information, in addition to the assembly code, should be generated in the assembly listing file.
To use this option, you must also specify option /asmfile, which causes an assembly listing to be generated.
Option |
Description |
---|---|
/asmattr:none |
Produces no assembly listing. This is the same as specifying /noasmattr. |
/asmattr:machine |
Produces an assembly listing with machine code. The assembly listing file shows the hex machine instructions at the beginning of each line of assembly code. The file cannot be assembled; the filename is the name of the source file with an extension of .cod. |
/asmattr:source |
Produces an assembly listing with source code. The assembly listing file shows the source code as interspersed comments. Note that if you use alternate option -fsource-asm, you must also specify the -S option. |
/asmattr:all |
Produces an assembly listing with machine code and source code. The assembly listing file shows the source code as interspersed comments and shows the hex machine instructions at the beginning of each line of assembly code. This file cannot be assembled. |
/asmattr:none |
Linux and Mac OS X: None Windows: /noasmattr |
/asmattr:machine |
Linux and Mac OS X: -fcode-asm Windows: /FAc |
/asmattr:source |
Linux and Mac OS X: -fsource-asm Windows: /FAs |
/asmattr:all |
Linux and Mac OS X: None Windows: /FAcs |