Hi,
Because (and this is of course my opinion, I can't speak for Darrel or meLabs), it's a utility designed for producing code (not actual code but rather directives to the compiler/assembler) that sets the CONFIG fuses correctly - and that's what it does. CONFIG is part of flash memory, it is being set when the device is programmed. OSCCON is SFR (RAM) and is set at runtime.
If OSCCON, why not ADCON, ANSEL, TRIS, CMCON, TMR, BAUDCTL, SSPCON, INTCON, EECON, PIR, PCON, CCPR, WRCON, WPUB, OPTION_REG, SR_CON.....?
/Henrik.
Bookmarks