i've written an ISR in c code as given below
interrupt void int_handler(void)
{
.....
.....
}
i'm using the c64x+ dsp
to test it i manually enabled the 1st non maskable interrupt which is INT4 by setting the corresponding bit to 1 in the IER and triggered the interrupt by setting the corresponding bit in ISR to 1.(all of this using asm statements). now when i set the ISR bit to 1, the code branches off to an address at an offset 0f 0x80 from the interrupt service table pointer, which is a series of NOPs. i want the ISR int_handler to be called when INT4 is generated. the question is how should i place the ISR int_handler routine in the correct location in the interrupt service table? can i mention somewhere in the ISR prototype for which i've written this particular routine so that the compiler automatically places it in the appropriate location? any other solution to my problem would also be appreciated. thanks
-sulaiman