### /Fa Compiler Option

Syntax: | Default:
/Fa[+|-] | /Fa-
/Fa[dir][name] |

Use /Fa to produce, name, and direct an assembler listing file that has the source code as comments. The listing file will be name.asm and will be placed in directory dir.

The compiler produces a listing file for each source file that follows the option on the command line. The name you provide applies to all source files specified after this option, until another /Fa[name] is encountered.

If you do not specify a name or directory, then the listing takes the same name as the source file, with the extension .asm, and is put in the current directory.

If the directory you specify is not valid, the compiler does not generate a listing file: it generates a warning message and the option does not take effect.

Note: The listing is not guaranteed to compile.

By default, the compiler does not create an assembler listing file.

Summary of Compiler Options