EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2841: Pseudoinstruction %SETC


Tested procedures
PseudopcSETC  
Source & expected listing t2841.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPALL=YES,DUMPWIDTH=24, \ | | AUTOALIGN=OFF,AUTOSEGMENT=ON,LISTVAR=ON | |t2841 PROGRAM FORMAT=BIN,MODEL=TINY,LISTMAP=On,LISTGLOBALS=OFF |3438 | %Var0 %SET 48 |31 | %Var1 %SETC 49 |32 | %Var2 %SETC '2' |33 | %Var3 %SETC '0'+3 |34 | %Var4 %SETC 0x34 |353637 | %Var5 %SETC 0x35,0x36, 0x37 |0A | %LF %SETC 10 |1B | %Esc %SETC 27 |20 | %Space %SETC 0x20 |1B4D | %Elite %SETC '%Esc','M' | !%Elite %SETC '','M' | |;; |[DATA] ::::Section changed. |0000:3438 | DB "%Var0" | !DB "48" |0002:31 | DB "%Var1" | !DB "1" |0003:32 | DB "%Var2" | !DB "2" |0004:33 | DB "%Var3" | !DB "3" |0005:34 | DB "%Var4" | !DB "4" |0006:353637 | DB "%Var5" | !DB "567" |0009:20 | DB "%Space" | !DB " " |[BSS] ::::Section changed. |0000: | DB %Space | !DB |[DATA] ::::Section changed. |000A:1B | DB "%Esc" | !DB "" |[BSS] ::::Section changed. |0000: | DB %Esc | !DB |[DATA] ::::Section changed. |000B:1B4D | DB "%Elite" | !DB "M" |000D:2032 | DB "%Space%Var2" | !DB " 2" | |ENDPROGRAM t2841 | **** ListMap "t2841.bin",model=TINY,groups=1,segments=2,entry=,stack=[COMGROUP]:0000FFFEh | [COMGROUP],FA=00000000h,VA=00000000h,size=00000010h=16,group [DATA] [BSS] | [DATA],FA=00000000h,VA=00000000h,size=0000000Fh=15,width=16,align=0010h,purpose=DATA | [BSS],FA=00000010h,VA=00000010h,size=00000000h=0,width=16,align=0010h,purpose=BSS
Expected messages t2841.out
I0180 Assembling source file "t2841.htm". I0270 Assembling source "t2841". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2841". "t2841.htm"{50} I0510 Assembling program pass 1. "t2841.htm"{50} I0530 Assembling program pass 2 - final. "t2841.htm"{50} I0660 16bit TINY BIN file "t2841.bin" created, size=15. "t2841.htm"{92} I0650 Program "t2841" assembled in 2 passes with errorlevel 0. "t2841.htm"{92} I0750 Source "t2841" (119 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2841.htm.lst" created, size=2245. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t2841. bin
0000: 34 38 31 32 33 34 35 36 37 20 1B 1B 4D 20 32     481234567¯··M¯2

▲Back to the top▲