Interrupt Vector Table Allocation

The Compiler provides a non-ANSI compliant way to directly specify the interrupt vector number in the source:

  void 
  interrupt 0 ResetFunction(void) {

  
    /* reset handler */

  
  }

  

The Compiler uses the translation from interrupt vector number to interrupt vector address shown in the followingthe following.

Table 1. Interrupt Vector Translation to Vector Address
Vector Number Vector Address Vector Address Size
0 0xFFFE, 0xFFFF 2
1 0xFFFC, 0xFFFD 2
2 0xFFFA, 0xFFFB 2
... ... ...
n 0xFFFF - (n*2) 2