Test t2871:
Pseudoinstruction %SET2
- Tested procedures
-
PseudopcSET2
- Source & expected listing
t2871.htm.lst
-
| | EUROASM LIST=ON,DUMP=ON,DUMPALL=YES,DUMPWIDTH=20, \
| | AUTOALIGN=OFF,LISTVAR=ON
| |t2871 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF
|41 | %Var1 %SET A
|42 | %Var2 %SET B
|4142 | %Var3 %SET %Var1%Var2
| !%Var3 %SET AB
|412556617232 | %Var4 %SET %Var1%%Var2
| !%Var4 %SET A%Var2
|4142 | %Var5 %SET2 %Var4
| !%Var5 %SET2 A%Var2
| | %DISPLAY UserVariables
| !%DISPLAY UserVariables
|# D1750 **** %DISPLAY UserVariables=%*
|# D1770 name="%Var1",value="A",size=1
|# D1770 name="%Var2",value="B",size=1
|# D1770 name="%Var3",value="AB",size=2
|# D1770 name="%Var4",value="A%Var2",size=6
|# D1770 name="%Var5",value="AB",size=2
|# D1790 **** End of %DISPLAY
| | ENDPROGRAM t2871
- Expected messages
t2871.out
I0180 Assembling source file "t2871.htm".
I0270 Assembling source "t2871".
I0310 Assembling source pass 1.
D1750 **** %DISPLAY UserVariables=%* "t2871.htm"{59}
D1790 **** End of %DISPLAY "t2871.htm"{59}
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t2871". "t2871.htm"{50}
I0510 Assembling program pass 1. "t2871.htm"{50}
D1750 **** %DISPLAY UserVariables=%* "t2871.htm"{59}
D1770 name="%Var1",value="A",size=1 "t2871.htm"{59}
D1770 name="%Var2",value="B",size=1 "t2871.htm"{59}
D1770 name="%Var3",value="AB",size=2 "t2871.htm"{59}
D1770 name="%Var4",value="A%Var2",size=6 "t2871.htm"{59}
D1770 name="%Var5",value="AB",size=2 "t2871.htm"{59}
D1790 **** End of %DISPLAY "t2871.htm"{59}
I0530 Assembling program pass 2 - final. "t2871.htm"{50}
D1750 **** %DISPLAY UserVariables=%* "t2871.htm"{59}
D1770 name="%Var1",value="A",size=1 "t2871.htm"{59}
D1770 name="%Var2",value="B",size=1 "t2871.htm"{59}
D1770 name="%Var3",value="AB",size=2 "t2871.htm"{59}
D1770 name="%Var4",value="A%Var2",size=6 "t2871.htm"{59}
D1770 name="%Var5",value="AB",size=2 "t2871.htm"{59}
D1790 **** End of %DISPLAY "t2871.htm"{59}
I0660 16bit TINY BIN file "t2871.bin" created, size=0. "t2871.htm"{68}
I0650 Program "t2871" assembled in 2 passes with errorlevel 1. "t2871.htm"{68}
I0750 Source "t2871" (102 lines) assembled in 2 passes with errorlevel 1.
I0860 Listing file "t2871.htm.lst" created, size=956.
I0990 EuroAssembler terminated with errorlevel 1.
▲Back to the top▲