Wouldn't that translate to: bsf PORTA, PORTA, 0 ? You're replacing 2 defined labels, one has just PORTA, the other PORTA, 0. Or does MPLab have some smarts to let this work? nick@veys.com | www.veys.com > Sabachka, > Instead of this: > > #define CLK PORTA, 1 > #define DQ PORTA, 0 > > I would use: > > #define PORTDS PORTA > #define CLK PORTA, 1 > #define DQ PORTA, 0 > ... > > bsf PORTDS, DQ > > This is easy to read and understand but when you assemble the > file it translates to: > > bsf PORTA, 0 > > I hope that this helps. > > Andrew -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu