From: Alan B. Pearce[SMTP:A.B.Pearce@RL.AC.UK] Sent: Tuesday, October 28, 2003 10:57 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC:] Macro expansion options for MPASM >Is there a way to have MPASM expand macros in the listing >file but only show the code generated, not the entire macro >process? The old Parallax assembler just shows code generated. >I've read the docs, but can't find anything/ Within the macro definition, at the beginning, put a NOLIST directive. Within each IF section, put LIST before any statements that you want to see. Since only the active IF section will be expanded, there will be no need to add NOLIST at the end of each section. If there is a possibility that none of the sections will be expanded, put a final LIST just before ENDM. John Power -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads