5.20 LISTMAC
Turn macro expansion on.
The LISTMAC directive tells the Assembler that when a macro is called, the expansion of the macro is to be shown on the listfile generated by the Assembler. The default is that only the macro-call with parameters is shown in the listfile.
.LISTMAC
.MACRO MACX ; Define an example macro add r0,@0 ; Do something eor r1,@1 ; Do something .ENDMACRO ; End macro definition .LISTMAC ; Enable macro expansion MACX r2,r1 ; Call macro, show expansion