First page Back Continue Last page Overview Graphics

Interrupt Vector Table Initialization


Notes:

These examples show two ways to load addresses of interrupt service routines into the vector table. This example deals with the external interrupt (IRQ) and the real-time interrupt (RTI). The interrupt service routines are named RTI_Ser and IRQ_Ser. The service routine names are the names of subroutines found elsewhere in the program. The addresses of these two vectors are stored sequentially starting at address FFF0 hex. A linker segment must be set up to load this module starting at address FFF0 hex. The linker command lines will be as follows:
+seg .const –b0xFFF0
prog.o