Defining an Interrupt Function
The compiler provides two ways to define an interrupt function:
Using pragma TRAP_PROC.
Using the keyword interrupt.
Using the TRAP_PROC Pragma
Using the interrupt keyword