If you're compiling for an 18F PIC, then you definitely have to use the MPASM
assembler. The PM assembler does not support the 18F series.