Hi, I have a horrible pic programming system where I have to manually type in the config every time I want to write to the chip. (and sometimes I make mistakes!). Of course the elegant way is to include a #CONFIG statement at the compiler head of the code. What would be the correct #CONFIG code that sets the bits as follows? (Taken from page 84 of the PIC12F683 manual and it gives me correct result)

bit 11 FCMEN = 1
bit 10 IESO = 0
bit 9-8 BOREN = 01
bit 7 CPD = 0
bit 6 CP = 0
bit 5 MCLRE = 0
bit 4 PWRTE = 0
bit 3 WDTE = 0
bit 2-0 FOSC = 100

In real life it should look something like the following, but different words and values . . . .

#config
CONFIG FOSC = HS
CONFIG WDTEN = OFF
CONFIG PWRT = ON
CONFIG BOREN = OFF
CONFIG MCLRE = OFF
. . . . . . . . .
. . . . . . .
#endconfig

Thank you