Everything

-vectn


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-vectn = <suboption>[,...]
         <suboption>:  <vector number> = {<symbol> | <address>}

[Description]

-

Assigns the specified address to the specified vector number in the variable vector table section.

-

When this option is specified, a variable vector table section is created and the specified address is set in the table even if there is no interrupt function in the source code.

-

Specify a decimal value from 0 to 255 for <vector number>.

-

Specify the external name of the target function for <symbol>.

-

Specify the desired hexadecimal address for <address>.

-

[V3.00.00 or later] When split_vect is not specified, set a value in an unused area which is not specified with vectn according to the following priority.

1. Value specified with the vect option

2. If there is a defined symbol with the name (internal name) of "__dummy_int" in the link target,

the address of that symbol

3. If there is a defined symbol with the name (internal name) of "dummy_int" in the link target,

the address of that symbol

4. 0 for cases other than any of the above

When split_vect is specified, a section for each vector number is not generated for an unused area which is not specified with vectn.

[Examples]

-vectn=30=_f1,31=0000F100 ;Specifies the _f1 address for vector 
                          ;number 30 and 0x0f100 for vector number 31

[Remarks]

-

This option is ignored when the user creates a variable vector table section in the source program because the variable vector table is not automatically created in this case.