Wouter van Ooijen wrote: > The limitations of macros in > MPASM were one of the reasons for me to abandon assembler an write a > compiler :) I agree. The macro facility in MPASM is pretty primitive. However, it's still better than no macros and useful macros can be written. My approach was to write a preprocessor to add the features I really wanted but couldn't have with native MPASM. For details, see the PREPIC documentation at http://www.embedinc.com/pic. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics