El Mon, Oct 06, 2003 at 02:41:07PM -0400, Hazelwood Lyle escribio: > > I have an often-used macro that would be MUCH more useful if I > could "skip" it with a normal BTFSS/BTFSC instruction, so I > began the macro with the following: > > LOCAL macstart,macend > BRA macstart ;unusual start to allow skip before macro > BRA macend > macstart > LFSR FSR0,timeblock + tmrnum * 8 > ....... main body of macro here...... > macend > endm > > > Would anyone care to comment on this method? I'm always open to > learning a better way. Perhaps it would be better to deffine two macros, the normal version and the "skipable" version, that starts with your branches and then inludes the normal deffinition. That way, you don't loose speed when you don't need it. Daniel. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.