4.3.2.5 Are There Any SFR Usage Considerations?
The PIC32A architecture defines various Special Function Registers (SFRs) that control hardware peripherals or other aspects of the machine. In general these SFRs are accessed like other C variables.
Some SFRs control the state of the general machine and care must be taken when modifying this state. SFRs such as CORCON and the BMX register should be modified with care.
Like luggage at an airport, many SFRs look alike. That is to say, there are subtle differences between some peripheral registers from device to device. When compiling code for a generic device, avoid referring to SFRs.