Everything

 

-asm_path


This option specifies the folder to save an assembly source file generated during compilation.

[Specification format]

-asm_path[=path]

 

-

Interpretation when omitted

An assembly source file will not be output (except when specifying the -S option).

[Detailed description]

-

This option specifies the folder to save an assembly source file generated during compilation as path.

-

If an existing folder is specified as path, the assembly source file is saved under the C source file name with the extension replaced by ".asm" to path.
An error will occur if a nonexistent folder is specified.

-

An existing file can be specified as path.
If one assembly source file is output, it will be saved with path as the file name.
If two or more assembly source files are output, an error will occur.
An error will occur if a nonexistent file is specified.

-

If "=path" is omitted, the assembly source file is saved under the C source file name with the extension replaced by ".asm" to the current folder.

-

If two or more files with the same name (even if they are in different folders) are specified as source files, then a warning is output, and an assembly source file is only saved for the last source file to be specified.

[Example of use]

-

To save the assembly source file generated during compilation to folder "D:\sample", describe as:

>ccrl -asm_path=D:\sample -cpu=S2 -dev=dr5f100pj.dvf main.c