Can someone explain macro expansion? The directives EXPAND and NOEXPAND and the command line option m+, m- seem to have no effect on the output of my listing file. At the point in the file where the macro is defined, each step is "expanded" for each invocation of the macro in the source file. For example if I invoke the macro "beq" two times in my source code (nothing meaningful, just used to test expansion of the macro), the list file is as follows: beq macro addr 00000b 1903 BTFSC 0x3,0x2 btfsc STATUS,Z 00000e 1903 BTFSC 0x3,0x2 00000c 2807 GOTO 0x7 goto addr 00000f 2807 GOTO 0x7 endm The list file is as follows at the point where I invoked this macro. 00000a 01a1 CLRF 0x21 clrf count beq start 00000d 0000 NOP nop beq start This happens regardless of EXPAND, NOEXPAND, m+, m-, etc. Also what would be the purpose of not expanding the macros? Thanks in advance for any help. -- 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