# Specifying Assembly Files

You can use the /Fa option (Windows*) or -S and -o options (Linux*) to specify an alternate name for an assembly file. The compiler generates an assembly file named myasm.asm (Windows) or myasm.s (Linux).

For C/C++ projects:

    // Linux
    icpx -S -omyasm.s x.cpp

    // Windows
    icx /Famyasm x.cpp

For DPC++ projects:

    // Linux
    dpcpp -S -omyasm.s x.cpp

    // Windows
    dpcpp-cl /Famyasm x.cpp

Parent topic: Using the Command Line

## See Also

-S compiler option
-o compiler option
/Fa compiler option