EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2210: Pseudoinstruction EUROASM LIST=


Description
When the listing is switched off, even partially, it cannot be reused as the source in further assembly. Thus this testing method is not available. This test only checks if statements EUROASM LIST=OFF and EUROASM LIST=ON are both properly listed.
Tested procedures
StmListing   PseudoEUROASM  
Source file t2210.asm
EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32
t2210   PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
[BIN]   SEGMENT WIDTH=16,PURPOSE=DATA
        DB 0x11
EUROASM LIST=OFF ; The following statement "DB 0x22" will be not listed, nevertheless it must appear in object.
        DB 0x22
EUROASM LIST=ON
        DB 0x33
ENDPROGRAM t2210
Expected listing t2210.asm.lst
| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32 | |t2210 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=DATA |0000:11 | DB 0x11 | |EUROASM LIST=ON |0002:33 | DB 0x33 | |ENDPROGRAM t2210
Expected messages t2210.out
I0180 Assembling source file "t2210.asm". I0270 Assembling source "t2210". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2210". "t2210.asm"{2} I0510 Assembling program pass 1. "t2210.asm"{2} I0530 Assembling program pass 2 - final. "t2210.asm"{2} I0660 16bit TINY BIN file "t2210.bin" created, size=3. "t2210.asm"{9} I0650 Program "t2210" assembled in 2 passes with errorlevel 0. "t2210.asm"{9} I0750 Source "t2210" (9 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2210.asm.lst" created, size=448. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2210. bin
0000: 11 22 33                                         ·"3

▲Back to the top▲