EuroAssembler Index Manual Download Source Macros

Sitemap Links Forum Tests Projects

Test t3117: Machine instructions CMP CMPB CMPW CMPD in 32bit mode

Tested procedures
IigCMP   IigCMPB   IigCMPW   IigCMPD  
Source & expected listing t3117.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386 | |t3117 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:3C02 | CMP AL,2 |00000002:80F802 | CMP AL,2,CODE=LONG |00000005:663D0200 | CMP AX,2 |00000009:6683F802 | CMP AX,2,CODE=LONG |0000000D:83F802 | CMP EAX,2 |00000010:3D02000000 | CMP EAX,2,CODE=SHORT |00000015:80F902 | CMP CL,2 |00000018:803D[AE000000]02 | CMP [MemByte],2 |0000001F:6683F902 | CMP CX,2 |00000023:6681F90200 | CMP CX,2,IMM=WORD |00000028:66833D[AC000000]02 | CMP [MemWord],2 |00000030:66813D[AC000000]0200 | CMP [MemWord],2,IMM=WORD |00000039:813D[AC000000]02000000 | CMPD [MemWord],2,IMM=DWORD |00000043:83F902 | CMP ECX,2 |00000046:81F902000000 | CMP ECX,2,IMM=DWORD |0000004C:833D[A8000000]02 | CMP [MemDword],2 |00000053:66833D[A8000000]02 | CMPW [MemDword],2 |0000005B:813D[A8000000]02000000 | CMP [MemDword],2,IMM=DWORD |00000065:803F02 | CMPB [EDI],2 |00000068:66833F02 | CMPW [EDI],2 |0000006C:833F02 | CMPD [EDI],2 |0000006F:38D1 | CMP CL,DL |00000071:3ACA | CMP CL,DL,CODE=LONG |00000073:38F5 | CMP CH,DH |00000075:3AEE | CMP CH,DH,CODE=LONG |00000077:6639D1 | CMP CX,DX |0000007A:663BCA | CMP CX,DX,CODE=LONG |0000007D:39D1 | CMP ECX,EDX |0000007F:3BCA | CMP ECX,EDX,CODE=LONG |00000081:3A0D[AE000000] | CMP CL,[MemByte] |00000087:663B0D[AC000000] | CMP CX,[MemWord] |0000008E:3B0D[A8000000] | CMP ECX,[MemDword] |00000094:3815[AE000000] | CMP [MemByte],DL |0000009A:663915[AC000000] | CMP [MemWord],DX |000000A1:3915[A8000000] | CMP [MemDword],EDX |000000A7:90 | ALIGN QWORD |000000A8:00000000 |MemDword D D |000000AC:0000 |MemWord D W |000000AE:00 |MemByte D B | |ENDPROGRAM t3117
Expected messages t3117.out
I0180 Assembling source file "t3117.htm". I0270 Assembling source "t3117". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3117". "t3117.htm"{58} I0510 Assembling program pass 1. "t3117.htm"{58} I0510 Assembling program pass 2. "t3117.htm"{58} I0510 Assembling program pass 3. "t3117.htm"{58} I0530 Assembling program pass 4 - final. "t3117.htm"{58} I0660 16bit TINY BIN file "t3117.bin" created, size=175. "t3117.htm"{99} I0650 Program "t3117" assembled in 4 passes with errorlevel 0. "t3117.htm"{99} I0750 Source "t3117" (119 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3117.htm.lst" created, size=2413. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲