EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8221: Macro with %SHIFT


Source & expected listing t8221.htm.lst
| | EUROASM DUMP=ON, DUMPALL=YES, DUMPWIDTH=16, \ | | LIST=ON, LISTVAR=NO, LISTMACRO=YES | |t8221 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF | |Sample %MACRO | | DB %1 | | %SHIFT | | DB %1 | | %SHIFT 0 | | DB %1 | | %SHIFT 1 | | DB %1 | | %SHIFT 2 | | DB %1 | | %SHIFT 4 | | DB %1 | | %SHIFT -5 | | DB %1 | | %ENDMACRO Sample |[BIN] ::::Section changed. |0000: |Sample 0x11,0x22,0x33,0x44,0x55,0x66,0x77 | +Sample %MACRO |0000:11 + DB %1 | + %SHIFT |0001:22 + DB %1 | + %SHIFT 0 |0002:22 + DB %1 | + %SHIFT 1 |0003:33 + DB %1 | + %SHIFT 2 |0004:55 + DB %1 | + %SHIFT 4 |0005: + DB %1 | + %SHIFT -5 |0005:44 + DB %1 | + %ENDMACRO Sample | | ENDPROGRAM t8221
Expected messages t8221.out
I0180 Assembling source file "t8221.htm". I0270 Assembling source "t8221". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8221". "t8221.htm"{43} I0510 Assembling program pass 1. "t8221.htm"{43} I0530 Assembling program pass 2 - final. "t8221.htm"{43} I0660 16bit TINY BIN file "t8221.bin" created, size=6. "t8221.htm"{76} I0650 Program "t8221" assembled in 2 passes with errorlevel 0. "t8221.htm"{76} I0750 Source "t8221" (94 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8221.htm.lst" created, size=1327. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲