Controls compilation for interrupt-routine object code.
#pragma interrupt [ on | off | reset ]
For the value ON, the compiler generates special prologus and epilogues for the functions this pragma encapsulates. The compiler saves or restores all modified registers (both nonvolatile and scratch). Functions return via RTE instead of RTS.
You can also use __declspec(interrupt) to mark a function as an interrupt routine. This directive also allows you to specify an optional status register mask at runtime.