>At least this is how I do it in C. To a degree, it is also how Microchip does it, look at the p24Fxxxx.h file that comes with C30 for an example. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist