Specifies the contents of an assembly listing file.

Syntax

Linux and macOS:

None

Windows:

/FA[specifier]

Arguments

specifier

Denotes the contents of the assembly listing file. Possible values are c, s, or cs.

Default

OFF

No source or machine code annotations appear in the assembly listing file, if one is produced.

Description

These options specify 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 /Fa, which causes an assembly listing to be generated.

Option

Description

/FA

Produces an assembly listing without source or machine code annotations.

/FAc

Produces an assembly listing with machine code annotations.

/FAs

Produces an assembly listing with source code annotations.

Note that if you use alternate option -fsource-asm, you must also specify the -S option.

/FAcs

Produces an assembly listing with source and machine code annotations.

IDE Equivalent

Visual Studio: Output Files > Assembler Output

Eclipse: None

Xcode: None

Alternate Options

/FAc

Linux and macOS*: -fcode-asm

Windows: None

/FAs

Linux and macOS*: -fsource-asm

Windows: None

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.