> > bsf PORTA, LED1 > > Does #define not work? I'd think something like this would work: > > #define Led1 LATA,1 > > bsf Led1 That's what I was thinking, but the question seemed to have such a simple answer (if you know it of course !!) it made me hesitate replying in case I'd missed something -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist