Linda N.
How can I prevent the compiler from automatically managing special function registers (SFRs)?
Use the -msfr=none compiler option to disable automatic SFR management. Alternatively, the --no-tasking-sfr option provides similar functionality.