Everything

 

-D


This option defines assembler symbols.

[Specification format]

-Dname[=def][name[=def]]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option defines name as an assembler symbol.

-

This is equivalent to adding "name .SET def" at the beginning of the assembly source program.

-

If name contains characters that are allowed in an assembler symbol, but which cannot be used in a preprocessor macro ("@", ".", and "~"), a warning will be output, and it is defined as an assembler symbol only.

-

An error will occur if name is omitted.

-

If "=def" is omitted, def is regarded as 1.

-

This option can be specified more than once.

-

If both this option and -U option are specified for the same assembler symbol, the option specified last will be valid.

[Example of use]

-

To define "sample=256" as an assembler symbol, describe as:

>asrh -Dsample=256 -Xcommon=rh850 main.asm