> 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 No, it will expand to BSF PORTA, PORTA, 0 which will cause a syntax error. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads