EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2401: Pseudoinstruction INCLUDE


Tested procedures
PseudoINCLUDE   ChunkSplit  
Included file 1 t2401.i.asm
      ALIGN OWORD
      DB "Included file I."
Included file 2 t2401.j.asm
      ALIGN OWORD
      DB "Included file J."
Included file 3 t2401.k.asm
      ALIGN OWORD
      DB "Included file K."
Source file t2401.asm
      EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, LISTINCLUDE=ON
t2401 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF
[BIN]  SEGMENT WIDTH=16, PURPOSE=DATA
       ALIGN OWORD
       DB "3 files I,J,K included."
       INCLUDE t2401.?.asm
       ALIGN OWORD
       DB "Again with LISTINCLUDE=OFF"
       EUROASM LISTINCLUDE=OFF
       INCLUDE t2401.?.asm
       ALIGN OWORD
       DB "End of source."
      ENDPROGRAM t2401
Expected listing t2401.asm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, LISTINCLUDE=ON | |t2401 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16, PURPOSE=DATA |0000: | ALIGN OWORD |0000:332066696C657320492C4A2C~| DB "3 files I,J,K included." |0017: * INCLUDE t2401.?.asm |0017: * INCLUDE ".\t2401.i.asm" |0017:000000000000000000 | ALIGN OWORD |0020:496E636C756465642066696C~| DB "Included file I." |0030: * INCLUDE ".\t2401.j.asm" |0030: | ALIGN OWORD |0030:496E636C756465642066696C~| DB "Included file J." |0040: * INCLUDE ".\t2401.k.asm" |0040: | ALIGN OWORD |0040:496E636C756465642066696C~| DB "Included file K." |0050: | ALIGN OWORD |0050:416761696E2077697468204C~| DB "Again with LISTINCLUDE=OFF" | | EUROASM LISTINCLUDE=OFF |006A: | INCLUDE t2401.?.asm |006A: * INCLUDE ".\t2401.i.asm" |0080: * INCLUDE ".\t2401.j.asm" |0090: * INCLUDE ".\t2401.k.asm" |00A0: | ALIGN OWORD |00A0:456E64206F6620736F757263~| DB "End of source." | | ENDPROGRAM t2401
Expected messages t2401.out
I0180 Assembling source file "t2401.asm". I0270 Assembling source "t2401". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2401". "t2401.asm"{2} I0510 Assembling program pass 1. "t2401.asm"{2} I0530 Assembling program pass 2 - final. "t2401.asm"{2} I0660 16bit TINY BIN file "t2401.bin" created, size=174. "t2401.asm"{13} I0650 Program "t2401" assembled in 2 passes with errorlevel 0. "t2401.asm"{13} I0750 Source "t2401" (23 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2401.asm.lst" created, size=1534. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2401. bin
0000: 33 20 66 69 6C 65 73 20 49 2C 4A 2C 4B 20 69 6E  3¯files¯I,J,K¯in
0010: 63 6C 75 64 65 64 2E 00 00 00 00 00 00 00 00 00  cluded.°°°°°°°°°
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: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 4B 2E  Included¯file¯K.
0050: 41 67 61 69 6E 20 77 69 74 68 20 4C 49 53 54 49  Again¯with¯LISTI
0060: 4E 43 4C 55 44 45 3D 4F 46 46 00 00 00 00 00 00  NCLUDE=OFF°°°°°°
0070: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 49 2E  Included¯file¯I.
0080: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 4A 2E  Included¯file¯J.
0090: 49 6E 63 6C 75 64 65 64 20 66 69 6C 65 20 4B 2E  Included¯file¯K.
00A0: 45 6E 64 20 6F 66 20 73 6F 75 72 63 65 2E        End¯of¯source.

▲Back to the top▲