Everything

 

-mirror_source


This option specifies the value to be set in the MAA register.

[Specification format]

-mirror_source={0|1|common}

 

-

Interpretation when omitted

It is the same result as when the -mirror_source=0 option is specified.

[Detailed description]

-

This option specifies the value to be set in the MAA register.

-

Specify 0 when the mirror source section is allocated to address 0x0xxxx, or specify 1 when the section is allocated to address 0x1xxxx.
This option is used to determine whether a symbol in an absolute addressing section is in the mirror source area or to notify the linker of the address where the mirror source section is allocated.
When the CPU core is RL78-S1, the mirror source section is fixed at address 0x0xxxx and this option setting is not necessary. If 1 is specified in this case, an error will occur.

-

When common is specified, reference to a symbol allocated to the mirror source area is not supported. Mirror conversion of mirror source addresses is also not supported.

-

When the -cpu=S1 option is specified and if 1 is specified in this option, an error will occur.

-

When both the -dev option and this option are specified, the specified allocation address is checked against the on-chip ROM (CodeFlash) address range.

-

When the -mirror_source=common option is specified and if the -mirror_region option is specified, an error will occur.

[Example of use]

-

To specify 0x0xxxx as the address where the mirror source section is allocated, describe as:

>asrl -dev=dr5f100pj.dvf -mirror_source=0 main.asm