| Syntax: | Default: |
| file(asmFileName, pathName) | same base name as source and file extension .asm |
The C compiler can generate an assembler listing file for compiled C sources. This option names the assembler listing file.
By default no assembler listing is produced. This option has no effect unless your request an assember listing file with file(genAsm).
When you set option file(genAsm), an assembly listing is produced for every source to which the option applies. If you do not supply a file name with this option, the output files have the same name as the source file and the extension .asm.
When file(asmFileName, pathName) is specified, pathName can be the relative or absolute path name of either a file or a directory. If you supply a file name, the name of the assembler listing file created is pathName. In this case, make sure the option applies to only one source file. Otherwise the assembler listing is overwritten by every file compiled after the first source because the same output file name is used for each source. If you supply a directory name, the assembler listing files created are placed into that directory.
![]()
C Compilation
Configuration
Files
