> but can?t seem to do simple things like ?OSCCON.OSWEN =3D true;? It is always a good idea to look at the appropriate header file. In most cases, what you want is something like OSCCONbits.OSWEN =3D 1; The symbol OSCCON itself refers to the entire register. If it were a struct you wouldn' tbe able to say things like OSCCON =3D 0x1234; so the struct has a different name. Almost always the register name followed by "bits". But once in a while there are surprises, so don't be shy about studying the .h file. --McD --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .