Yeap, I forgot to say that the code above is for 16F877-20Mhz.

Also,

Quote Originally Posted by mister_e
@Sayzer

@ DEVICE HS_OSC,WDT_ON,PROTECT_OFF,CPD_ON,PWRT_ON,BOD_ON
I know what you mean Steve! I will never forget.