# Fa

Specifies that an assembly listing file should be generated.

## Syntax

Linux: | -Fa[filename|dir]

macOS: | -Fa[filename|dir]

Windows: | /Fa[filename|dir]

## Arguments

filename | Is the name of the assembly listing file.
dir | Is the directory where the file should be placed. It can include filename.

## Default

OFF | No assembly listing file is produced.

## Description

This option specifies that an assembly listing file should be generated (optionally named filename).

If filename is not specified, the file name will be the name of the source file with an extension of .asm; the file is placed in the current directory.

### Note

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

## IDE Equivalent

Visual Studio: Output > ASM Listing Name

## Alternate Options

Linux and macOS: -S

Windows: /S, /asmfile (this is a deprecated option)

Parent topic: Output, Debug, and Precompiled Header Options