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

# Test t2405: Pseudoinstruction INCLUDE self

Source file t2405.asm

         EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, \
                   LISTINCLUDE=ON, MAXINCLUSIONS=2 ;
      t2405 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF
         DB 0x11 ;
         INCLUDE t2405.asm ; Program include self.
         DB 0x22 ;
       ENDPROGRAM t2405 ;

Expected listing t2405.asm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, \ | | LISTINCLUDE=ON, MAXINCLUSIONS=2 ; | |t2405 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[DATA] ::::Section changed. |0000:11 | DB 0x11 ; |0001: * INCLUDE t2405.asm ; Program include self. |0001: * INCLUDE "./t2405.asm" | | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, \ | | LISTINCLUDE=ON, MAXINCLUSIONS=2 ; | |t2405 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[DATA] ::::Section changed. |0000:11 | DB 0x11 ; |0001: * INCLUDE t2405.asm ; Program include self. |0001: * INCLUDE "./t2405.asm" | | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, \ | | LISTINCLUDE=ON, MAXINCLUSIONS=2 ; | |t2405 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[DATA] ::::Section changed. |0000:11 | DB 0x11 ; |0001: * INCLUDE t2405.asm ; Program include self. |### E6916 "./t2405.asm" - number of included files exceeded EUROASM MAXINCLUSIONS. |0001:22 | DB 0x22 ; | | ENDPROGRAM t2405 ; |[DATA] ::::Section changed. |0001:22 | DB 0x22 ; | | ENDPROGRAM t2405 ; |## W3990 Overwriting previously generated output file "t2405.bin". |[DATA] ::::Section changed. |0001:22 | DB 0x22 ; | | ENDPROGRAM t2405 ; |## W3990 Overwriting previously generated output file "t2405.bin".`

Expected messages t2405.out
  `I0180 Assembling source file "t2405.asm". I0270 Assembling source "t2405". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2405". "t2405.asm"{3} I0510 Assembling program pass 1. "t2405.asm"{3} I0530 Assembling program pass 2 - final. "t2405.asm"{3} I0470 Assembling program "t2405". "t2405.asm"{3} I0510 Assembling program pass 1. "t2405.asm"{3} I0530 Assembling program pass 2 - final. "t2405.asm"{3} I0470 Assembling program "t2405". "t2405.asm"{3} I0510 Assembling program pass 1. "t2405.asm"{3} E6916 "./t2405.asm" - number of included files exceeded EUROASM MAXINCLUSIONS. I0530 Assembling program pass 2 - final. "t2405.asm"{3} E6916 "./t2405.asm" - number of included files exceeded EUROASM MAXINCLUSIONS. I0660 16bit TINY BIN file "t2405.bin" created, size=2. "t2405.asm"{7} I0650 Program "t2405" assembled in 2 passes with errorlevel 6. "t2405.asm"{7} W3990 Overwriting previously generated output file "t2405.bin". "t2405.asm"{7} I0660 16bit TINY BIN file "t2405.bin" created, size=2. "t2405.asm"{7} I0650 Program "t2405" assembled in 2 passes with errorlevel 3. "t2405.asm"{7} W3990 Overwriting previously generated output file "t2405.bin". "t2405.asm"{7} I0660 16bit TINY BIN file "t2405.bin" created, size=2. "t2405.asm"{7} I0650 Program "t2405" assembled in 2 passes with errorlevel 3. "t2405.asm"{7} I0750 Source "t2405" (18 lines) assembled in 2 passes with errorlevel 6. I0860 Listing file "t2405.asm.lst" created, size=1671. I0990 EuroAssembler terminated with errorlevel 6.`

Expected output file t2405. bin

      0000: 11 22                                            ·"

▲Back to the top▲