-o


This option specifies the output file name.

[Specification format]

-ofile

 

-

Interpretation when omitted

The file is output to the current folder.

The output object file name will be the source file name with the extension replaced by ".obj".

[Detailed description]

-

This option specifies the object file name as file.

-

If file already exists, it will be overwritten.

-

Even if this option is specified, when a fatal error occurs, the object file cannot be output.

-

An error will occur if two or more files are output.

-

An error will occur if file is omitted.

[Example of use]

-

To output the object file with "sample.obj" as the file name, describe as:

>asrh -osample.obj -Xcommon=rh850 main.asm