If you use MPASM as assembler, you can use the line in your ASM code at the top, but still followi the instruction in post #5 i Posted above.

Code:
@    __CONFIG _CONFIG1, _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
@    __CONFIG _CONFIG2, _WRT_OFF & _BOR21V