On Feb 4, 2011, at 8:11 AM, Olin Lathrop wrote: > "MPLAB Assembler, Linker and Utilities For PIC24 MCUs and dsPIC DSCs =20 > User's Guide" Document id DS51317G, apparently. It also points out that this is a port of the GNU Assembler, so any =20 other documentation you can find on the web for using the Gnu =20 assembler macro capability should also be applicable. Also note that =20 you have at least the possibility of using both C-style "macros" AND =20 the assembler macro capability, and perhaps even mixing them in =20 creative ways. > Once you read this manual, you will see that the macro language is =20 > rather primitive. I don't like it much either. I would hope for more out of a major =20 multi-target assembler project, especially since assemblers from 3 =20 decades ago did much better. You get the sense that the main purpose =20 of the gnu assembler is to support the compilers (which is probably =20 true.) In particular, my favorite style of "structured assembler" macros =20 don't seem to be possible. (see however, http://dkeenan.com/AddingStructuredControlFlowToAnyAssembler.= htm=20 if this is what you are interested in.) BillW --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .