When you load a hex file, the configuration bits are changed according to the asm code. You can then change (after loading the hex file) the configuration bits before programming the chip. You can test this by turning on all the configuration bits before loading the hex file. Then load the hex file and the configuration bits should change. Hope this helps -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Richard Zinn Sent: Thursday, December 04, 2003 7:42 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] Configuration bits question My new programmer the (Warp 13a) lets me set all my configuration bits before I flash the code to the pic, but I also have the configuration bits set in my asm code. Which of the settings (the configurations I made in my programmer or the __CONFIG line in my asm code) actually take effect on the PIC when programmed? Maybe someone knows of a good resource for me learn a little more about how that __CONFIG directive works? Thanks, Richard -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics