EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2230: Pseudoinstruction EUROASM LISTMACRO=


Source file t2230.asm
      EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=24
t2230 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
[BIN] SEGMENT WIDTH=16, PURPOSE=DATA
String %MACRO Param
        DB %Param
       %ENDMACRO String
      EUROASM LISTMACRO=ON
      String "Generated by macro String."
      EUROASM LISTMACRO=OFF
      ALIGN OWORD
      String "Another String."
     ENDPROGRAM t2230
Expected listing t2230.asm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=24 | |t2230 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16, PURPOSE=DATA | |String %MACRO Param | | DB %Param | | %ENDMACRO String | | EUROASM LISTMACRO=ON |0000: | String "Generated by macro String." | +String %MACRO Param |0000:47656E6572617465~+ DB %Param | + %ENDMACRO String | | EUROASM LISTMACRO=OFF |001A:000000000000 | ALIGN OWORD |0020: | String "Another String." | | ENDPROGRAM t2230
Expected messages t2230.out
I0180 Assembling source file "t2230.asm". I0270 Assembling source "t2230". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2230". "t2230.asm"{2} I0510 Assembling program pass 1. "t2230.asm"{2} I0530 Assembling program pass 2 - final. "t2230.asm"{2} I0660 16bit TINY BIN file "t2230.bin" created, size=47. "t2230.asm"{12} I0650 Program "t2230" assembled in 2 passes with errorlevel 0. "t2230.asm"{12} I0750 Source "t2230" (12 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2230.asm.lst" created, size=822. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2230. bin
0000: 47 65 6E 65 72 61 74 65 64 20 62 79 20 6D 61 63  Generated¯by¯mac
0010: 72 6F 20 53 74 72 69 6E 67 2E 00 00 00 00 00 00  ro¯String.°°°°°°
0020: 41 6E 6F 74 68 65 72 20 53 74 72 69 6E 67 2E     Another¯String.

▲Back to the top▲