4.1.4 Movfw Pseudo Instruction

The movfw pseudo instruction implemented by MPASM is not implemented in the MPLAB XC8 assemblers. You will need to use the standard PIC instruction that performs an identical function. Note that the MPASM instruction:

movfw foobar

maps directly to the standard PIC instruction:

movf foobar,w