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

# Test t7123: OutFile suboperations

Description
  72 bytes of binary data are compiled in memory. The output file is suboperated twice, only characters Nr. 5..20 from lines 2..3 are written.
See also
  t7121 t7122
Tested procedures
  PfSuboperate

Source & expected listing t7123.htm.lst
  `| | EUROASM DEBUG=OFF,PROFILE=OFF,AUTOSEGMENT=ON,LIST=ON, \ | | DUMP=ON,DUMPWIDTH=40,DUMPALL=ON | |t7123 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16, \ | | LISTMAP=OFF,LISTGLOBALS=OFF,OUTFILE="t7123.bin"{2..3}[5..20] |[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 t7123`

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

Expected output file t7123. bin

      0000: 42 33 42 34 42 35 42 36 42 37 0D 0A 43 31 43 32  B3B4B5B6B7·¬C1C2

▲Back to the top▲