-define


This option defines a user-defined assembler symbol (name).

[Specification format]

-define=name[=def][,name[=def]]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option specifies name as a user-defined assembler symbol (name).

-

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

-

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 -undefine option are specified, the option specified last will be valid.

[Example of use]

-

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

>asrl -define=sample=256 -dev=dr5f100pj.dvf main.asm