Test t2110:
Pseudoinstruction EUROASM WARN=, NOWARN=
- Source & expected listing
t2110.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, WARN=0..3999
| |t2110 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
|[BIN] |[BIN] SEGMENT WIDTH=16,PURPOSE=CODE
|0000: |;
|31 |%W2820 %SETB %^WARN[2820] ; Show status of W2820. Expected "1".
|0000:263E | SEGES: SEGDS: ; Intentional segment conflict to invoke W2820.
|## W2820 Illegal combination of prefixes from the same group.
|0002: |;
| | EUROASM NOWARN=2820 ; Disable warning W2820.
|30 |%W2820 %SETB %^WARN[2820] ; Show status of W2820. Expected "0", warning disabled.
|0002:263E | SEGES: SEGDS: ; Intentional segment conflict to invoke W2820.
|0004: |;
| | EUROASM WARN=2819..2821 ; Enable range of warnings.
|31 |%W2820 %SETB %^WARN[2820] ; Show status of W2820. Expected "1", warning enabled.
|0004:263E | SEGES: SEGDS: ; Intentional segment conflict to invoke W2820.
|## W2820 Illegal combination of prefixes from the same group.
|0006: |;
| | ENDPROGRAM t2110
- Expected messages
t2110.out
I0180 Assembling source file "t2110.htm".
I0270 Assembling source "t2110".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t2110". "t2110.htm"{42}
I0510 Assembling program pass 1. "t2110.htm"{42}
I0530 Assembling program pass 2 - final. "t2110.htm"{42}
W2820 Illegal combination of prefixes from the same group. "t2110.htm"{46}
W2820 Illegal combination of prefixes from the same group. "t2110.htm"{55}
I0660 16bit TINY BIN file "t2110.bin" created, size=6. "t2110.htm"{58}
I0650 Program "t2110" assembled in 2 passes with errorlevel 2. "t2110.htm"{58}
I0750 Source "t2110" (78 lines) assembled in 2 passes with errorlevel 2.
I0860 Listing file "t2110.htm.lst" created, size=1397.
I0990 EuroAssembler terminated with errorlevel 2.
▲Back to the top▲