Hi, >> First try:unsigned short __at(_CONFIG1) config1Reg = (_FCMEN_OFF >> & _IESO_OFF & _BOREN_ON & _CPD_ON & _CP_ON & _MCLRE_OFF & _PWRTE_ON & >> _WDTE_OFF >> & _FOSC_HS);
I cannot check right now, but you might be missing a __code modifier: __code unsigned short __at(0x8007) _conf1 = 0x1234; could also do the trick. I will try to have a look at this later today. Raphael ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user