Initializing Vector Table

The vector table can be initialized in the assembly source file or in the linker parameter file. We recommend that you initialize it in the linker parameter file.

The HCS12Z allows 128 entries in the vector table starting at memory location $FF00 extending to memory location $FFFF.

The Reset vector is located in $FFFE, and the SWI interrupt vector is located in $FFFC. From $FFFA down to $FF00 are located the IRQ[0] interrupt ( $FFFA), IRQ[1] ( $FFFA),..., IRQ[125] ( $FF00).

In the following examples, the Reset vector, the SWI interrupt and the IRQ[1] interrupt are initialized. The IRQ[0] interrupt is not used.

The topics covered here: