-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>.

-

The file name is <output file>.jmp.

[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.