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

# Test t3230: Machine instructions ADD, OR, ADC, SBB, AND, SUB, XOR, CMP (Group 1)

Description
  Encoding of similar instructions distinguished with /digit

       /0   /1   /2   /3   /4   /5   /6   /7
      ADD, OR, ADC, SBB, AND, SUB, XOR, CMP.

Tested procedures
  IigADD IigOR IigADC IigSBB IigAND IigSUB IigXOR IigCMP

Source & expected listing t3230.htm.lst
  `| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=24, CPU=386 | |t3230: PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:0303 | ADD EAX,[EBX] |00000002:0B03 | OR EAX,[EBX] |00000004:1303 | ADC EAX,[EBX] |00000006:1B03 | SBB EAX,[EBX] |00000008:2303 | AND EAX,[EBX] |0000000A:2B03 | SUB EAX,[EBX] |0000000C:3303 | XOR EAX,[EBX] |0000000E:3B03 | CMP EAX,[EBX] | | ENDPROGRAM t3230:`

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

▲Back to the top▲