EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2600: Pseudoinstruction %IF


Tested procedures
LstBoolean  
Source & expected listing t2600.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=16 | |t2600 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF,IMAGEBASE=0 |[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=DATA |0000:ED | DB 0xED ; Emitted data. |TRUE |Outer %IF 1 |0001:E1 | DB 0xE1 ; Commented-out data (not emitted). |FALSE | %ELSE Outer | |Inner %IF 0 | | DB 0xE0 | | %ELSE Inner | | DB 0xE1 | | %ENDIF Inner | | DB 0xE0 | | %ENDIF Outer |FALSE |Outer %IF 0 | | DB 0xE0 ; Commented-out data (not emitted). |TRUE | %ELSE Outer |FALSE |Inner %IF 0 | | DB 0xE0 |TRUE | %ELSE Inner |0002:E1 | DB 0xE1 | | %ENDIF Inner |0003:E0 | DB 0xE0 | | %ENDIF Outer |0004:ED | DB 0xED ; Emitted data. | | ENDPROGRAM t2600
Expected messages t2600.out
I0180 Assembling source file "t2600.htm". I0270 Assembling source "t2600". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2600". "t2600.htm"{49} I0510 Assembling program pass 1. "t2600.htm"{49} I0530 Assembling program pass 2 - final. "t2600.htm"{49} I0660 16bit TINY BIN file "t2600.bin" created, size=5. "t2600.htm"{73} I0650 Program "t2600" assembled in 2 passes with errorlevel 0. "t2600.htm"{73} I0750 Source "t2600" (91 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2600.htm.lst" created, size=1095. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲