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

# Test t3102: Machine instructions ADC ADCB ADCW ADCD ADCQ in 16bit mode

Tested procedures
  IigADC IigADCB IigADCW IigADCD IigADCQ

Source & expected listing t3102.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386 | |t3102 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:1402 | ADC AL,2 |0002:80D002 | ADC AL,2,CODE=LONG |0005:150200 | ADC AX,2 |0008:83D002 | ADC AX,2,CODE=LONG |000B:6683D002 | ADC EAX,2 |000F:661502000000 | ADC EAX,2,CODE=SHORT |0015:80D102 | ADC CL,2 |0018:8016[8600]02 | ADC [MemByte],2 |001D:83D102 | ADC CX,2 |0020:81D10200 | ADC CX,2,IMM=WORD |0024:8316[8400]02 | ADC [MemWord],2 |0029:8116[8400]0200 | ADC [MemWord],2,IMM=WORD |002F:6683D102 | ADC ECX,2 |0033:6681D102000000 | ADC ECX,2,IMM=DWORD |003A:668316[8000]02 | ADC [MemDword],2 |0040:668116[8000]02000000 | ADC [MemDword],2,IMM=DWORD |0049:801502 | ADCB [DI],2 |004C:831502 | ADCW [DI],2 |004F:66831502 | ADCD [DI],2 |0053:10D1 | ADC CL,DL |0055:12CA | ADC CL,DL,CODE=LONG |0057:10F5 | ADC CH,DH |0059:12EE | ADC CH,DH,CODE=LONG |005B:11D1 | ADC CX,DX |005D:13CA | ADC CX,DX,CODE=LONG |005F:6611D1 | ADC ECX,EDX |0062:6613CA | ADC ECX,EDX,CODE=LONG |0065:120E[8600] | ADC CL,[MemByte] |0069:130E[8400] | ADC CX,[MemWord] |006D:66130E[8000] | ADC ECX,[MemDword] |0072:1016[8600] | ADC [MemByte],DL |0076:1116[8400] | ADC [MemWord],DX |007A:661116[8000] | ADC [MemDword],EDX |007F:90 | ALIGN QWORD |0080:00000000 |MemDword D D |0084:0000 |MemWord D W |0086:00 |MemByte D B | |ENDPROGRAM t3102`

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

▲Back to the top▲