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,LISTVAR=ON | |t2841 PROGRAM FORMAT=BIN,LISTMAP=OFF,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' |[BIN] ::::Section changed. |0000: | |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 " " |000A: | DB %Space | !DB |000A:1B | DB "%Esc" | !DB "" |000B: | DB %Esc | !DB |000B:1B4D | DB "%Elite" | !DB "M" |000D:2032 | DB "%Space%Var2" | !DB " 2" | |ENDPROGRAM t2841
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"{88} I0650 Program "t2841" assembled in 2 passes with errorlevel 0. "t2841.htm"{88} I0750 Source "t2841" (111 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2841.htm.lst" created, size=1663. 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▲