# FA

Specifies the contents of an assembly listing file.

## Syntax

Linux: | None

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. The assembly listing file shows the hex machine instructions at the beginning of each line of assembly code. The file cannot be assembled; the file name is the name of the source file with an extension of .cod.
/FAs | Produces an assembly listing with source code annotations. 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.
/FAcs | Produces an assembly listing with source and machine code annotations. 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.

## IDE Equivalent

Visual Studio: Output Files > Assembler Output

## Alternate Options

/FAc | Linux and macOS: -fcode-asm Windows: None
/FAs | Linux and macOS: -fsource-asm Windows: None

Parent topic: Output, Debug, and Precompiled Header Options