Everything

 

-mirror_region


This option specifies the address range of the mirror destination area.

[Specification format]

-mirror_region=start_address,end_address

 

-

Interpretation when omitted

When the -dev option is not specified, a device without a mirror area is assumed.

[Detailed description]

-

This option specifies the address range (start address and end address) of the mirror destination area.

-

This option is used to calculate the address range of the mirror source area.
0xF8000 is subtracted from the specified addresses when the CPU core type is RL78-S1, or 0xF0000 is subtracted when the CPU core type is RL78-S2 or RL78-S3. The obtained addresses are assumed as the address range of the mirror source area. If a value outside the range from 0xF0000 to 0xFFFFF is specified, an error will occur.

-

If both the -dev option and this option are specified, an error will occur.

-

When the -cpu option is specified but this option is not specified, a device without a mirror area is assumed.

-

When both the -mirror_source=common option and this option are specified, an error will occur.

[Example of use]

-

To specify the address range of the mirror destination area.

>asrl -cpu=S2 -mirror_region=0xf3000,0xfaeff main.asm