The Linker provides two commands to initialize the vector table: VECTOR ADDRESS or VECTOR. Use the VECTOR ADDRESS command to write the address of a function at a specific address in the vector table.
To enter the address of the INCcount() function at address 0x8A, insert the following command in the application's PRM file.
VECTOR ADDRESS 0x8A INCcount
Use the VECTOR command to associate a function with a specific vector, identified by its number. The mapping from the vector number is specific to the target.
To associate the address of the INCcount() function with the vector number 42, insert the following command in the application's PRM file.
VECTOR 42 INCcount