Hi Folks

What is the correct way of Declare Prototypes of ISR ?

Is it only in the file that contains main()

or

file that has main() and file that contain ISR routine it self

or

every file that is compiled and linked to for the runtime object ?


void Timer0_ISR(void) interrupt 1 using 2;

void Timer0_ISR(void) interrupt 1 using 2
{
   ...
}



Problem

ASM file seem to have the errors in the ISR table

thanks

Gaz