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

# Test t7122: OutFile substring

Description
  72 bytes of binary data are compiled in memory. The output file is suboperated, only characters Nr. 33..62 are written.
See also
  t7121 t7123
Tested procedures
  PfSuboperate

Source & expected listing t7122.htm.lst
  `| | EUROASM DEBUG=OFF,PROFILE=OFF,AUTOSEGMENT=ON,LIST=ON, \ | | DUMP=ON,DUMPWIDTH=40,DUMPALL=ON | |t7122 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16, \ | | LISTMAP=OFF,LISTGLOBALS=OFF,OUTFILE="t7122.bin"[0x21..0x3E] |[DATA] ::::Section changed. |0000:41314132413341344135413641370D0A | DB "A1A2A3A4A5A6A7",13,10 |0010:42314232423342344235423642370D0A | DB "B1B2B3B4B5B6B7",13,10 |0020:43314332433343344335433643370D0A | DB "C1C2C3C4C5C6C7",13,10 |0030:44314432443344344435443644370D0A | DB "D1D2D3D4D5D6D7",13,10 |0040:4531453245334534 | DB "E1E2E3E4" | | ENDPROGRAM t7122`

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

Expected output file t7122. bin

      0000: 43 31 43 32 43 33 43 34 43 35 43 36 43 37 0D 0A  C1C2C3C4C5C6C7·¬
      0010: 44 31 44 32 44 33 44 34 44 35 44 36 44 37        D1D2D3D4D5D6D7

▲Back to the top▲