| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t2831: Pseudoinstruction %SETB

Tested procedures
  PseudopcSETB

Source & expected listing t2831.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPALL=YES,DUMPWIDTH=24, \ | | AUTOALIGN=OFF,LISTVAR=ON | |t2831 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF |322B33 | %Var0 %SET 2+3 |31 | %Var1 %SETB 2+3 |31 | %Var2 %SETB 2-3 |30 | %Var3 %SETB 2=3 |31 | %Var4 %SETB 2!=3 |31 | %Var5 %SETB %Var2*5 | !%Var5 %SETB 1*5 |30 | %Var6 %SETB False |31 | %Var7 %SETB !%Var6 | !%Var7 %SETB !0 |31313131 | %Var8 %SETB On,TRUE,"A"=="a", \ | | !0 |3130313031303130 | %Var9 %SETB 1,0,Yes,No,true,FALSE,Enabled,Disabled |30 | %Bin0 %SETB 0 |31 | %Bin1 %SETB 1 |30 | %Empty %SETB |31 | %Chr0 %SETB '0' |31 | %Chr1 %SETB '1' |3031303131 | %Var10 %SETB %Bin0,%Bin1,%Empty,%Chr0,%Chr1 | !%Var10 %SETB 0,1,0,1,1 |[DATA] ::::Section changed. |0000:05 | DB %Var0 | !DB 2+3 |0001:01 | DB %Var1 | !DB 1 |0002:01 | DB %Var2 | !DB 1 |0003:00 | DB %Var3 | !DB 0 |0004:01 | DB %Var4 | !DB 1 |0005:01 | DB %Var5 | !DB 1 |0006:00 | DB %Var6 | !DB 0 |0007:01 | DB %Var7 | !DB 1 |0008:31313131 | DB "%Var8" | !DB "1111" |000C:0F | DB 0y%Var8 | !DB 0y1111 |000D:3130313031303130 | DB "%Var9" | !DB "10101010" |0015:AA | DB %Var9[]b | !DB 10101010b |0016:0B | DB %Var10{}b | !DB 01011b | | ENDPROGRAM t2831`

Expected messages t2831.out
  `I0180 Assembling source file "t2831.htm". I0270 Assembling source "t2831". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2831". "t2831.htm"{50} I0510 Assembling program pass 1. "t2831.htm"{50} I0530 Assembling program pass 2 - final. "t2831.htm"{50} I0660 16bit TINY BIN file "t2831.bin" created, size=23. "t2831.htm"{98} I0650 Program "t2831" assembled in 2 passes with errorlevel 0. "t2831.htm"{98} I0750 Source "t2831" (116 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2831.htm.lst" created, size=2138. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲