| | EUROASM DUMP=ON, DUMPALL=YES, DUMPWIDTH=34, \
| | LIST=ON, LISTVAR=NO, LISTMACRO=ON
| |t7364 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF
|[DATA] |[DATA]
| |Sample %MACRO Ord1, Ord2,,Ord4,,Key1=5,Key2=6,Key3=,,Key4=
| | DB '%#' ; Number or ordinals.
| | DB '%*' ; List of all ordinals.
| | DB '%=#' ; Number or keywords.
| | DB '%=*' ; List of all keywords.
| | %ENDMACRO Sample
| |;;
|0000: | Sample Key2=A,B,C ; Macro expanded with 2 ordinals, 1 keyword.
| +Sample %MACRO Ord1, Ord2,,Ord4,,Key1=5,Key2=6,Key3=,,Key4=
|0000:32 + DB '%#' ; Number or ordinals.
|0001:422C43 + DB '%*' ; List of all ordinals.
|0004:31 + DB '%=#' ; Number or keywords.
|0005:4B6579323D41 + DB '%=*' ; List of all keywords.
| + %ENDMACRO Sample
| |;;
|000B: | Sample A,, C,Key1=D,Key3=E ; Macro expanded with 3 ordinals, 2 keywords.
| +Sample %MACRO Ord1, Ord2,,Ord4,,Key1=5,Key2=6,Key3=,,Key4=
|000B:33 + DB '%#' ; Number or ordinals.
|000C:412C2C43 + DB '%*' ; List of all ordinals.
|0010:32 + DB '%=#' ; Number or keywords.
|0011:4B6579313D442C4B6579333D45 + DB '%=*' ; List of all keywords.
| + %ENDMACRO Sample
| |ENDPROGRAM t7364
Expected messages t7364.out
I0180 Assembling source file "t7364.htm".
I0270 Assembling source "t7364".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t7364". "t7364.htm"{50}
I0510 Assembling program pass 1. "t7364.htm"{50}
I0530 Assembling program pass 2 - final. "t7364.htm"{50}
I0660 16bit TINY BIN file "t7364.bin" created, size=30. "t7364.htm"{74}
I0650 Program "t7364" assembled in 2 passes with errorlevel 0. "t7364.htm"{74}
I0750 Source "t7364" (92 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t7364.htm.lst" created, size=2033.
I0990 EuroAssembler terminated with errorlevel 0.