Exo said:
when you restore contect THE ONLY RIGHT WAY is to use SWAPF.
And to add to that:
While MOVWF can be used for restoring other registers, the ONLY right way to restore W is to use SWAPF.
I searched the Net and found a comparsion between using MOVF and SWAPF in saving/restore STATUS. Both versions use the same number of instructions and are equally effective. Can't find any solid example that said MOVF can't be used.
But as Microchip recommended the SWAPF method, I'll use it instead.
[edited]: Corrected spelling mistake.