> From: piclist-bounces@mit.edu > [mailto:piclist-bounces@mit.edu] On Behalf Of Jan-Erik Soderholm > Sent: Sunday, February 05, 2006 11:29 PM > > Phil Cross wrote : > > > NEW: > > CONFIG OSC =HSPLL ; Use HS PLL osc. > > CONFIG OSCS=OFF ; Disable osc. switching. > > Where are the rest ? > > *Always* specify *all* config options. > I think this is a good point for 18F. Unfortunately, Microchip provides many samples (with MPLAB C18) without doing this. For absolute mode assembly code and they even provide the default values inside the final hex file for those config options not specified at the source. It is also worth to take note that MPASM/MPLINK allow the config word to split across files in the relocatable mode. In that case, it will not fill in the default values in the final hex file. I can not think why one wants to put configuration word though. For MPLAB C18, it seems to me that it produces hex file without filling the default configuration values (in consisent with the relocatable mode assembly). Regards, Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist