EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2220: Pseudoinstruction EUROASM LISTINCLUDE=


Tested procedures
PseudoEUROASM  
Included file 1 t2220.i.asm
      ALIGN OWORD
      DB "Included file I."
Included file 2 t2220.j.asm
      ALIGN OWORD
      DB "Included file J."
Source file t2220.asm
      EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, DUMPALL=OFF, MAXINCLUSIONS=10
t2220 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
[BIN]  SEGMENT WIDTH=16,PURPOSE=DATA
       ALIGN OWORD
       DB "Both files I and J are included."
       EUROASM LISTINCLUDE=ON
        ; Statements from the following file will be physically included in listing due to enabled LISTINCLUDE;
        ; they replace the actual INCLUDE statement.
       INCLUDE t2220.i.asm
       EUROASM LISTINCLUDE=OFF
        ; Statements from the following file will be invisibly included
        ; and the actual INCLUDE statement remains in listing.
       INCLUDE t2220.j.asm
       ALIGN OWORD
       DB "End of source."
      ENDPROGRAM t2220
Expected listing t2220.asm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, DUMPALL=OFF, MAXINCLUSIONS=10 | |t2220 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=DATA |0000: | ALIGN OWORD |0000:426F74682066696C65732049~| DB "Both files I and J are included." | | EUROASM LISTINCLUDE=ON |0020: | ; Statements from the following file will be physically included in listing due to enabled LISTINCLUDE; |0020: | ; they replace the actual INCLUDE statement. |0020: * INCLUDE t2220.i.asm |0020: * INCLUDE ".\t2220.i.asm" |0020: | ALIGN OWORD |0020:496E636C756465642066696C~| DB "Included file I." | | EUROASM LISTINCLUDE=OFF |0030: | ; Statements from the following file will be invisibly included |0030: | ; and the actual INCLUDE statement remains in listing. |0030: | INCLUDE t2220.j.asm |0030: * INCLUDE ".\t2220.j.asm" |0040: | ALIGN OWORD |0040:456E64206F6620736F757263~| DB "End of source." | | ENDPROGRAM t2220
Expected messages t2220.out
I0180 Assembling source file "t2220.asm". I0270 Assembling source "t2220". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2220". "t2220.asm"{2} I0510 Assembling program pass 1. "t2220.asm"{2} I0530 Assembling program pass 2 - final. "t2220.asm"{2} I0660 16bit TINY BIN file "t2220.bin" created, size=78. "t2220.asm"{16} I0650 Program "t2220" assembled in 2 passes with errorlevel 0. "t2220.asm"{16} I0750 Source "t2220" (18 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2220.asm.lst" created, size=1490. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2220. bin
0000: 42 6F 74 68 20 66 69 6C 65 73 20 49 20 61 6E 64  Both¯files¯I¯and
0010: 20 4A 20 61 72 65 20 69 6E 63 6C 75 64 65 64 2E  ¯J¯are¯included.
0020: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 49 2E  Included¯file¯I.
0030: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 4A 2E  Included¯file¯J.
0040: 45 6E 64 20 6F 66 20 73 6F 75 72 63 65 2E        End¯of¯source.

▲Back to the top▲