t7362.asm
EUROASM DUMP=ON, DUMPALL=YES, DUMPWIDTH=32, \ LIST=ON, LISTVAR=NO, LISTREPEAT=YES,listmacro=1 t7362 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF [DATA] Sample %MACRO ; Macro definition. DB 'M','0'+%. DB 'A','0'+%. DB 'C','0'+%. DB 'R','0'+%. DB 'O','0'+%. %ENDMACRO Sample Sample ; Macro expansion. DB 'X','0'+%. ; Expansion counter outside block scope. char %FOR 'F','O','R' DB %char,'0'+%. %ENDFOR char DB 'X','0'+%. ; Expansion counter outside block scope. %cnt %SETA 3 %REPEAT DB 'R','0'+%. DB 'P','0'+%. DB 'T','0'+%. %cnt %SETA %cnt-1 %UNTIL %cnt=0 DB 'X','0'+%. ; Expansion counter outside block scope. ENDPROGRAM t7362
t7362.asm.lst
t7362.out
I0180 Assembling source file "t7362.asm".
I0270 Assembling source "t7362".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t7362". "t7362.asm"{3}
I0510 Assembling program pass 1. "t7362.asm"{3}
I0530 Assembling program pass 2 - final. "t7362.asm"{3}
I0660 16bit TINY BIN file "t7362.bin" created, size=40. "t7362.asm"{26}
I0650 Program "t7362" assembled in 2 passes with errorlevel 0. "t7362.asm"{26}
I0750 Source "t7362" (26 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t7362.asm.lst" created, size=3248.
I0990 EuroAssembler terminated with errorlevel 0.
t7362. bin
0000: 4D 31 41 31 43 31 52 31 4F 31 58 30 46 32 4F 33 M1A1C1R1O1X0F2O3 0010: 52 34 58 30 52 35 50 35 54 35 52 36 50 36 54 36 R4X0R5P5T5R6P6T6 0020: 52 37 50 37 54 37 58 30 R7P7T7X0