| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t2222: Pseudoinstruction EUROASM LISTINCLUDE=, LISTMACRO=

Tested procedures
  StmListing

Included file 1 t2222.i.asm

      String %MACRO Param
              DB %Param
             %ENDMACRO String

Source file t2222.asm

            EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24,DUMPALL=OFF,LISTINCLUDE=OFF
      t2222 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
      [BIN]  SEGMENT WIDTH=16, PURPOSE=DATA
             INCLUDE t2222.i.asm  ; Macro String is defined in included file.
             EUROASM LISTMACRO=OFF
             String "Generated by macro String."
             EUROASM LISTMACRO=ON,DUMPALL=ON
             ALIGN OWORD
             String "Another String."
            ENDPROGRAM t2222

Expected listing t2222.asm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24,DUMPALL=OFF,LISTINCLUDE=OFF | |t2222 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16, PURPOSE=DATA |0000: | INCLUDE t2222.i.asm ; Macro String is defined in included file. |0000: * INCLUDE "./t2222.i.asm" | | EUROASM LISTMACRO=OFF |0000: | String "Generated by macro String." | | EUROASM LISTMACRO=ON,DUMPALL=ON |001A:000000000000 | ALIGN OWORD |0020: | String "Another String." | +String %MACRO Param |0020:416E6F7468657220 + DB %Param |0028:537472696E672E ----Dumping all. | + %ENDMACRO String | | ENDPROGRAM t2222`

Expected messages t2222.out
  `I0180 Assembling source file "t2222.asm". I0270 Assembling source "t2222". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2222". "t2222.asm"{2} I0510 Assembling program pass 1. "t2222.asm"{2} I0530 Assembling program pass 2 - final. "t2222.asm"{2} I0660 16bit TINY BIN file "t2222.bin" created, size=47. "t2222.asm"{10} I0650 Program "t2222" assembled in 2 passes with errorlevel 0. "t2222.asm"{10} I0750 Source "t2222" (12 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2222.asm.lst" created, size=917. I0990 EuroAssembler terminated with errorlevel 0.`

Expected output file t2222. 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▲