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

# Test t2901: Pseudoinstruction %DISPLAY FILES, CHUNKS

Included file 1 t2901.i.asm

      LI1: NOP ; This is included file.

Included file 2 t2901.j.asm

      Binary included file.

Source file t2901.asm

       EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24,NOWARN=2101,NOWARN=1160
      t2901  PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF
      [BIN]
      L1: DB 0x11
        INCLUDE t2901.i.asm
      L2: DB 0x22
        INCLUDEBIN t2901.j.asm
      L3: DB 0x33
       %DISPLAY Files,Chunks
       ENDPROGRAM t2901

Expected listing t2901.asm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24,NOWARN=2101,NOWARN=1160 | |t2901 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] |0000:11 |L1: DB 0x11 |0001: | INCLUDE t2901.i.asm |0001: * INCLUDE "./t2901.i.asm" |0002:22 |L2: DB 0x22 |0003: | INCLUDEBIN t2901.j.asm |0003: * INCLUDEBIN "./t2901.j.asm" |001A:33 |L3: DB 0x33 | | %DISPLAY Files,Chunks |# D1150 **** %DISPLAY Files |# D1170 "t2901.asm",size=256,src=main |# D1180 "./t2901.i.asm",size=35,src=included in "t2901.asm"{5} |# D1180 "./t2901.j.asm",size=23,src=included in "t2901.asm"{7} |# D1200 **** %DISPLAY Chunks |# D1210 "t2901.asm",src=envelope,type=source,size=16,contents='t2901: PROGRAM' |# D1210 "t2901.asm"{1..4},src=main,type=source,size=138,contents='EUROASM LIST=ON,DUMP=ON~~OFF [BIN] L1: DB 0x11' |# D1210 "t2901.asm"{5},src=main,type=orig,size=23,contents='INCLUDE t2901.i.asm' |# D1210 "./t2901.i.asm",src=main,type=resolved,size=26,contents='INCLUDE "./t2901.i.asm"' |# D1210 "./t2901.i.asm"{1},src=included,type=source,size=35,contents='LI1: NOP ; This is included file.' |# D1210 "t2901.asm"{6},src=main,type=source,size=13,contents='L2: DB 0x22' |# D1210 "t2901.asm"{7},src=main,type=orig,size=26,contents='INCLUDEBIN t2901.j.asm' |# D1210 "./t2901.j.asm",src=main,type=resolved,size=29,contents='INCLUDEBIN "./t2901.j.asm"' |# D1210 "./t2901.j.asm"{1},src=main,type=binary,size=23,contents='Binary included file.' |# D1210 "t2901.asm"{8..10},src=main,type=source,size=56,contents='L3: DB 0x33 %DISPLAY ~~unks ENDPROGRAM t2901' |# D1210 "t2901.asm",src=envelope,type=source,size=19,contents='ENDPROGRAM t2901:' |# D1790 **** End of %DISPLAY | | ENDPROGRAM t2901`

Expected messages t2901.out
  `I0180 Assembling source file "t2901.asm". I0270 Assembling source "t2901". I0310 Assembling source pass 1. D1150 **** %DISPLAY Files "t2901.asm"{9} D1170 "t2901.asm",size=256,src=main "t2901.asm"{9} D1200 **** %DISPLAY Chunks "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=16,contents='t2901: PROGRAM' "t2901.asm"{9} D1210 "t2901.asm"{1..10},src=main,type=source,size=256,contents='EUROASM LIST=ON,DUMP=ON~~unks ENDPROGRAM t2901' "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=19,contents='ENDPROGRAM t2901:' "t2901.asm"{9} D1790 **** End of %DISPLAY "t2901.asm"{9} I0330 Assembling source pass 2 - final. I0470 Assembling program "t2901". "t2901.asm"{2} I0510 Assembling program pass 1. "t2901.asm"{2} D1150 **** %DISPLAY Files "t2901.asm"{9} D1170 "t2901.asm",size=256,src=main "t2901.asm"{9} D1180 "./t2901.i.asm",size=35,src=included in "t2901.asm"{5} "t2901.asm"{9} D1180 "./t2901.j.asm",size=23,src=included in "t2901.asm"{7} "t2901.asm"{9} D1200 **** %DISPLAY Chunks "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=16,contents='t2901: PROGRAM' "t2901.asm"{9} D1210 "t2901.asm"{1..4},src=main,type=source,size=138,contents='EUROASM LIST=ON,DUMP=ON~~OFF [BIN] L1: DB 0x11' "t2901.asm"{9} D1210 "t2901.asm"{5},src=main,type=orig,size=23,contents='INCLUDE t2901.i.asm' "t2901.asm"{9} D1210 "./t2901.i.asm",src=main,type=resolved,size=26,contents='INCLUDE "./t2901.i.asm"' "t2901.asm"{9} D1210 "./t2901.i.asm"{1},src=included,type=source,size=35,contents='LI1: NOP ; This is included file.' "t2901.asm"{9} D1210 "t2901.asm"{6},src=main,type=source,size=13,contents='L2: DB 0x22' "t2901.asm"{9} D1210 "t2901.asm"{7},src=main,type=orig,size=26,contents='INCLUDEBIN t2901.j.asm' "t2901.asm"{9} D1210 "./t2901.j.asm",src=main,type=resolved,size=29,contents='INCLUDEBIN "./t2901.j.asm"' "t2901.asm"{9} D1210 "./t2901.j.asm"{1},src=main,type=binary,size=23,contents='Binary included file.' "t2901.asm"{9} D1210 "t2901.asm"{8..10},src=main,type=source,size=56,contents='L3: DB 0x33 %DISPLAY ~~unks ENDPROGRAM t2901' "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=19,contents='ENDPROGRAM t2901:' "t2901.asm"{9} D1790 **** End of %DISPLAY "t2901.asm"{9} I0510 Assembling program pass 2. "t2901.asm"{2} D1150 **** %DISPLAY Files "t2901.asm"{9} D1170 "t2901.asm",size=256,src=main "t2901.asm"{9} D1180 "./t2901.i.asm",size=35,src=included in "t2901.asm"{5} "t2901.asm"{9} D1180 "./t2901.j.asm",size=23,src=included in "t2901.asm"{7} "t2901.asm"{9} D1200 **** %DISPLAY Chunks "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=16,contents='t2901: PROGRAM' "t2901.asm"{9} D1210 "t2901.asm"{1..4},src=main,type=source,size=138,contents='EUROASM LIST=ON,DUMP=ON~~OFF [BIN] L1: DB 0x11' "t2901.asm"{9} D1210 "t2901.asm"{5},src=main,type=orig,size=23,contents='INCLUDE t2901.i.asm' "t2901.asm"{9} D1210 "./t2901.i.asm",src=main,type=resolved,size=26,contents='INCLUDE "./t2901.i.asm"' "t2901.asm"{9} D1210 "./t2901.i.asm"{1},src=included,type=source,size=35,contents='LI1: NOP ; This is included file.' "t2901.asm"{9} D1210 "t2901.asm"{6},src=main,type=source,size=13,contents='L2: DB 0x22' "t2901.asm"{9} D1210 "t2901.asm"{7},src=main,type=orig,size=26,contents='INCLUDEBIN t2901.j.asm' "t2901.asm"{9} D1210 "./t2901.j.asm",src=main,type=resolved,size=29,contents='INCLUDEBIN "./t2901.j.asm"' "t2901.asm"{9} D1210 "./t2901.j.asm"{1},src=main,type=binary,size=23,contents='Binary included file.' "t2901.asm"{9} D1210 "t2901.asm"{8..10},src=main,type=source,size=56,contents='L3: DB 0x33 %DISPLAY ~~unks ENDPROGRAM t2901' "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=19,contents='ENDPROGRAM t2901:' "t2901.asm"{9} D1790 **** End of %DISPLAY "t2901.asm"{9} I0530 Assembling program pass 3 - final. "t2901.asm"{2} D1150 **** %DISPLAY Files "t2901.asm"{9} D1170 "t2901.asm",size=256,src=main "t2901.asm"{9} D1180 "./t2901.i.asm",size=35,src=included in "t2901.asm"{5} "t2901.asm"{9} D1180 "./t2901.j.asm",size=23,src=included in "t2901.asm"{7} "t2901.asm"{9} D1200 **** %DISPLAY Chunks "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=16,contents='t2901: PROGRAM' "t2901.asm"{9} D1210 "t2901.asm"{1..4},src=main,type=source,size=138,contents='EUROASM LIST=ON,DUMP=ON~~OFF [BIN] L1: DB 0x11' "t2901.asm"{9} D1210 "t2901.asm"{5},src=main,type=orig,size=23,contents='INCLUDE t2901.i.asm' "t2901.asm"{9} D1210 "./t2901.i.asm",src=main,type=resolved,size=26,contents='INCLUDE "./t2901.i.asm"' "t2901.asm"{9} D1210 "./t2901.i.asm"{1},src=included,type=source,size=35,contents='LI1: NOP ; This is included file.' "t2901.asm"{9} D1210 "t2901.asm"{6},src=main,type=source,size=13,contents='L2: DB 0x22' "t2901.asm"{9} D1210 "t2901.asm"{7},src=main,type=orig,size=26,contents='INCLUDEBIN t2901.j.asm' "t2901.asm"{9} D1210 "./t2901.j.asm",src=main,type=resolved,size=29,contents='INCLUDEBIN "./t2901.j.asm"' "t2901.asm"{9} D1210 "./t2901.j.asm"{1},src=main,type=binary,size=23,contents='Binary included file.' "t2901.asm"{9} D1210 "t2901.asm"{8..10},src=main,type=source,size=56,contents='L3: DB 0x33 %DISPLAY ~~unks ENDPROGRAM t2901' "t2901.asm"{9} D1210 "t2901.asm",src=envelope,type=source,size=19,contents='ENDPROGRAM t2901:' "t2901.asm"{9} D1790 **** End of %DISPLAY "t2901.asm"{9} I0660 16bit TINY BIN file "t2901.bin" created, size=27. "t2901.asm"{10} I0650 Program "t2901" assembled in 3 passes with errorlevel 1. "t2901.asm"{10} I0750 Source "t2901" (9 lines) assembled in 2 passes with errorlevel 1. I0860 Listing file "t2901.asm.lst" created, size=1893. I0990 EuroAssembler terminated with errorlevel 1.`

Expected output file t2901. bin

      0000: 11 90 22 42 69 6E 61 72 79 20 69 6E 63 6C 75 64  ·¤"Binary¯includ
      0010: 65 64 20 66 69 6C 65 2E 0D 0A 33                 ed¯file.·¬3

▲Back to the top▲