-I


This option specifies the folder to search include files.

[Specification format]

-Ipath[,path]...

 

-

Interpretation when omitted

The include file is searched from the standard include file folder.

[Detailed description]

-

This option specifies the folder to search include files that are read by assembler control instruction "$INCLUDE/$BINCLUDE" as path.
Include files are searched according to the following sequence.

(1) Path specified by the -I option

(2) Folder with source file

(3) Current folder

 

-

If path does not exist, a warning will be output.

-

An error will occur if path is omitted.

[Example of use]

-

To search include files from folder "D:\include", "D:\src", and the current folder in that order, describe as:

>asrh -ID:\include -Xcommon=rh850 D:\src\main.asm