Listing 1. Interrupt Vector Table
/* ------------------------------------------------
* INTERRUPT VECTOR TABLE
*/
.segment/pm seg_rth;
___lib_RSTI: /* device reset */
nop;
jump ___lib_start;
nop;
nop;
___lib_TMZHI: /* hi-priority timer */
bit clr mode1 0x1000; /* disable interrupts */
ustat1=SIG_TMZ0;
jump DSP_K_INTR_RAPPER;
nop;
___lib_IRQ2I: /* external interrupt pin 2 */
bit clr mode1 0x1000;
ustat1=SIG_IRQ2;
jump DSP_K_INTR_RAPPER;
nop;
___lib_SPR0I: /* serial port DMA channel */
INT(SPR0I);
___lib_LP2I: /* link port DMA channel */
INT(LP2I);
___lib_EP0I: /* ext port DMA channel */
INT(EP0I);
___lib_CB7I: /* circular buffer (stack) fault */
bit clr mode1 0x1000;
ustat1=SIG_CB7;
# if( SHARC == __ADSP21065L__ )
jump DSP_K_INTR_RAPPER_0;
# else
jump DSP_K_INTR_RAPPER;
# endif
nop;
___lib_FIXI: /* fixed point overflow */
INT(FIX);
___lib_FLTOI: /* floating point overflow */
INT(FLTO);
___lib_FLTUI: /* floating point underflow */
INT(FLTU);
___lib_FLTII: /* floating point invalid */
INT(FLTI);
___lib_SFT0I: /* user interrupts 0..3 */
INT(USR0);