# fcode-asm

Produces an assembly listing with machine code annotations. This feature is only available for ifort.

## Syntax

Linux: | -fcode-asm

macOS: | -fcode-asm

Windows: | None

## Arguments

None

## Default

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

## Description

This option produces an assembly listing file 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.

To use this option, you must also specify option -S, which causes an assembly listing to be generated.

## IDE Equivalent

None

## Alternate Options

Linux and macOS: None

Windows: /FAc

Parent topic: Output, Debug, and Precompiled Header Options

## See Also

S compiler option