EuroAssembler Index Manual Download Source Macros

Sitemap Links Forum Tests Projects

Test t3107: Machine instructions CMP CMPB CMPW CMPD CMPQ in 16bit mode

Tested procedures
IigCMP   IigCMPB   IigCMPW   IigCMPD   IigCMPQ  
Source & expected listing t3107.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386 | |t3107 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:3C02 | CMP AL,2 |0002:80F802 | CMP AL,2,CODE=LONG |0005:3D0200 | CMP AX,2 |0008:83F802 | CMP AX,2,CODE=LONG |000B:6683F802 | CMP EAX,2 |000F:663D02000000 | CMP EAX,2,CODE=SHORT |0015:80F902 | CMP CL,2 |0018:803E[8600]02 | CMP [MemByte],2 |001D:83F902 | CMP CX,2 |0020:81F90200 | CMP CX,2,IMM=WORD |0024:833E[8400]02 | CMP [MemWord],2 |0029:813E[8400]0200 | CMP [MemWord],2,IMM=WORD |002F:6683F902 | CMP ECX,2 |0033:6681F902000000 | CMP ECX,2,IMM=DWORD |003A:66833E[8000]02 | CMP [MemDword],2 |0040:66813E[8000]02000000 | CMP [MemDword],2,IMM=DWORD |0049:803D02 | CMPB [DI],2 |004C:833D02 | CMPW [DI],2 |004F:66833D02 | CMPD [DI],2 |0053:38D1 | CMP CL,DL |0055:3ACA | CMP CL,DL,CODE=LONG |0057:38F5 | CMP CH,DH |0059:3AEE | CMP CH,DH,CODE=LONG |005B:39D1 | CMP CX,DX |005D:3BCA | CMP CX,DX,CODE=LONG |005F:6639D1 | CMP ECX,EDX |0062:663BCA | CMP ECX,EDX,CODE=LONG |0065:3A0E[8600] | CMP CL,[MemByte] |0069:3B0E[8400] | CMP CX,[MemWord] |006D:663B0E[8000] | CMP ECX,[MemDword] |0072:3816[8600] | CMP [MemByte],DL |0076:3916[8400] | CMP [MemWord],DX |007A:663916[8000] | CMP [MemDword],EDX |007F:90 | ALIGN QWORD |0080:00000000 |MemDword D D |0084:0000 |MemWord D W |0086:00 |MemByte D B | |ENDPROGRAM t3107
Expected messages t3107.out
I0180 Assembling source file "t3107.htm". I0270 Assembling source "t3107". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3107". "t3107.htm"{61} I0510 Assembling program pass 1. "t3107.htm"{61} I0510 Assembling program pass 2. "t3107.htm"{61} I0510 Assembling program pass 3. "t3107.htm"{61} I0530 Assembling program pass 4 - final. "t3107.htm"{61} I0660 16bit TINY BIN file "t3107.bin" created, size=135. "t3107.htm"{100} I0650 Program "t3107" assembled in 4 passes with errorlevel 0. "t3107.htm"{100} I0750 Source "t3107" (120 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3107.htm.lst" created, size=2289. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲