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

# Test t2470: Pseudoinstruction INCLUDEBIN

Included file 1 t2470.i.asm

      This text is included directly into output object.

Source & expected listing t2470.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=32,LISTINCLUDE=OFF | |t2470 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=DATA |0000:546869732074657874206973~| DB "This text is assembled from source.",13,10 |0025: | INCLUDEBIN t2470.i.asm |0025: * INCLUDEBIN "./t2470.i.asm" |0059:536F6D65206D6F7265207465~| DB "Some more text from source.",13,10 | | ENDPROGRAM t2470`

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

Expected output file t2470. bin

      0000: 54 68 69 73 20 74 65 78 74 20 69 73 20 61 73 73  This¯text¯is¯ass
      0010: 65 6D 62 6C 65 64 20 66 72 6F 6D 20 73 6F 75 72  embled¯from¯sour
      0020: 63 65 2E 0D 0A 54 68 69 73 20 74 65 78 74 20 69  ce.·¬This¯text¯i
      0030: 73 20 69 6E 63 6C 75 64 65 64 20 64 69 72 65 63  s¯included¯direc
      0040: 74 6C 79 20 69 6E 74 6F 20 6F 75 74 70 75 74 20  tly¯into¯output¯
      0050: 6F 62 6A 65 63 74 2E 0D 0A 53 6F 6D 65 20 6D 6F  object.·¬Some¯mo
      0060: 72 65 20 74 65 78 74 20 66 72 6F 6D 20 73 6F 75  re¯text¯from¯sou
      0070: 72 63 65 2E 0D 0A                                rce.·¬

▲Back to the top▲