EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2291: Pseudoinstruction EUROASM PUSH, POP option stack


Tested procedures
PseudoEUROASM   PassDestroy  
Source & expected listing t2291.htm.lst
| |EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=18 | |t2291 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF | | EUROASM UNDOC=ENABLED |TRUE | %IF %^UNDOC ; TRUE expected. | | %ENDIF | | EUROASM PUSH, UNDOC=DISABLED |FALSE | %IF %^UNDOC ; FALSE expected. | | %ENDIF | | EUROASM POP |TRUE | %IF %^UNDOC ; TRUE expected. | | %ENDIF | | EUROASM POP ; Intentionally popping from empty option stack. W3812 expected. |## W3812 EUROASM POP without EUROASM PUSH. Ignored. |TRUE | %IF %^UNDOC ; TRUE expected (unchanged). | | %ENDIF | | EUROASM PUSH ; Intentionally leaving options on stack when program ends. W3811 expected. | |ENDPROGRAM t2291 |## W3811 Unbalanced option stack. EUROASM POP missing.
Expected messages t2291.out
I0180 Assembling source file "t2291.htm". I0270 Assembling source "t2291". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2291". "t2291.htm"{52} I0510 Assembling program pass 1. "t2291.htm"{52} W3812 EUROASM POP without EUROASM PUSH. Ignored. "t2291.htm"{62} W3811 Unbalanced option stack. EUROASM POP missing. "t2291.htm"{67} I0530 Assembling program pass 2 - final. "t2291.htm"{52} W3812 EUROASM POP without EUROASM PUSH. Ignored. "t2291.htm"{62} W3811 Unbalanced option stack. EUROASM POP missing. "t2291.htm"{67} I0660 16bit TINY BIN file "t2291.bin" created, size=0. "t2291.htm"{67} I0650 Program "t2291" assembled in 2 passes with errorlevel 3. "t2291.htm"{67} I0750 Source "t2291" (90 lines) assembled in 2 passes with errorlevel 3. I0860 Listing file "t2291.htm.lst" created, size=942. I0990 EuroAssembler terminated with errorlevel 3.

▲Back to the top▲