-obj_path


This option specifies the folder to save an object file generated after assembling.

[Specification format]

-obj_path[=path]

 

-

Interpretation when omitted

The object file is saved under the source file name with the extension replaced by ".obj" to the current folder.

[Detailed description]

-

This option specifies the folder to save an object file generated after assembling as path.

-

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

-

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


-

If "=path" is omitted, the object file is saved under the C source file name with the extension replaced by ".obj" 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 object file is only saved for the last source file in the command line.

[Example of use]

-

To save the object file generated during assembling to foler "D:\sample", describe as:

>asrl -obj_path=D:\sample -dev=dr5f100pj.dvf main.asm