/FA[c|s|cs] /Fapathname
The /FA option creates a listing file containing assembly code. The arguments control the generation of source code and machine code and the extension of the listing file.
By default, the listing file gets the same base name as the source file. You can change the name of the listing file and the directory where it is created using the /Fa option.
Command-line option | Project settings | Listing contents; filename extension |
---|---|---|
/FA | Assembly-Only Listing | Assembly code; .asm |
/FAc | Assembly With Machine Code | Machine and assembly code; .cod |
/FAs | Assembly With Source Code | Source and assembly code; .asm |
/FAcs | Assembly, Machine Code, and Source | Machine, source, and assembly code; .cod |
The following command line produces a combined source and machine-code listing called HELLO.cod:
CL /FAcs HELLO.CPP
Output-File (/F) Options | Compiler Options | Setting Compiler Options | Specifying the Pathname