Solved! Go to Solution.
Message Edited by CompilerGuru on 05-18-200602:38 PM
Which page registers are saved is determined by the TRAP_PROC pragma. The syntax of this pragma is
#pragma TRAP_PROC [SAVE_ALL_REGS | SAVE_NO_REGS]
If TRAP_PROC SAVE_ALL_REGS is used, all page registers are saved, whether or not they are used in the interrupt procedure. If TRAP_PROC SAVE_NO_REGS is given, no page registers are saved. If only TRAP_PROC is given, all page registers specified with the -Cp option are saved. It is up to you to ensure that no other page registers are modified.
NOTE
The page registers are changed by paged data accesses. For details, see the Paged Variables section.
Message Edited by CompilerGuru on 05-18-200602:38 PM