EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t9122: 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
t9121   t9123  
Tested procedures
PfSuboperate  
Source & expected listing t9122.htm.lst
| | EUROASM DEBUG=OFF,PROFILE=OFF,AUTOSEGMENT=ON,LIST=ON, \ | | DUMP=ON,DUMPWIDTH=40,DUMPALL=ON | |t9122 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16, \ | | LISTMAP=OFF,LISTGLOBALS=OFF,OUTFILE="t9122.bin"[0x21..0x3E] |[BIN] ::::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 t9122
Expected messages t9122.out
I0180 Assembling source file "t9122.htm". I0270 Assembling source "t9122". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9122". "t9122.htm"{62} I0510 Assembling program pass 1. "t9122.htm"{62} I0530 Assembling program pass 2 - final. "t9122.htm"{62} I0660 16bit TINY BIN file "t9122.bin" created, size=30. "t9122.htm"{70} I0650 Program "t9122" assembled in 2 passes with errorlevel 0. "t9122.htm"{70} I0750 Source "t9122" (94 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9122.htm.lst" created, size=877. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9122. 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▲