EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2810: Pseudoinstruction %SET


Tested procedures
PseudopcSET   LstSet  
Source file t2810.asm
      EUROASM LIST=ON,DUMP=ON,DUMPALL=YES,DUMPWIDTH=24, \
              AUTOALIGN=OFF,LISTVAR=ON
t2810 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF
 %Var0 %SET
 %Var1 %SET AB
 %Var2 %SET CD,EF
 %Var3 %SET %Var2, GH,,
 %Var4 %SET DB  "I"
 %Var5 %SET DB "01",  \
               "23" , \
               "45"
       DB "%Var0"
       DB "%Var1"
       DB "%Var2"
       DB "%Var3"
       %Var4
       %Var5
      ENDPROGRAM t2810
Expected listing t2810.asm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPALL=YES,DUMPWIDTH=24, \ | | AUTOALIGN=OFF,LISTVAR=ON | |t2810 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF | | %Var0 %SET |4142 | %Var1 %SET AB |43442C4546 | %Var2 %SET CD,EF |43442C45462C4748 | %Var3 %SET %Var2, GH,, | !%Var3 %SET CD,EF, GH,, |44422020224922 | %Var4 %SET DB "I" |444220223031222C223233| %Var5 %SET DB "01", \ |222C22343522 | "23" , \ | | "45" |[DATA] ::::Section changed. |0000: | DB "%Var0" | !DB "" |0000:4142 | DB "%Var1" | !DB "AB" |0002:43442C4546 | DB "%Var2" | !DB "CD,EF" |0007:43442C45462C4748 | DB "%Var3" | !DB "CD,EF,GH" |000F:49 | %Var4 | !DB "I" |0010:303132333435 | %Var5 | !DB "01","23","45" | | ENDPROGRAM t2810
Expected messages t2810.out
I0180 Assembling source file "t2810.asm". I0270 Assembling source "t2810". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2810". "t2810.asm"{3} I0510 Assembling program pass 1. "t2810.asm"{3} I0530 Assembling program pass 2 - final. "t2810.asm"{3} I0660 16bit TINY BIN file "t2810.bin" created, size=22. "t2810.asm"{18} I0650 Program "t2810" assembled in 2 passes with errorlevel 0. "t2810.asm"{18} I0750 Source "t2810" (18 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2810.asm.lst" created, size=1186. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2810. bin
0000: 41 42 43 44 2C 45 46 43 44 2C 45 46 2C 47 48 49  ABCD,EFCD,EF,GHI
0010: 30 31 32 33 34 35                                012345

▲Back to the top▲