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

# Test t3127: Machine instructions CMP CMPB CMPW CMPD CMPQ in 64bit mode

Tested procedures
  IigCMP IigCMPB IigCMPW IigCMPD IigCMPQ

Source & expected listing t3127.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=X64 | |t3127 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode64] |[Mode64] SEGMENT WIDTH=64,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:4883F802 | CMP RAX,2 |00000019:483D02000000 | CMP RAX,2,CODE=SHORT |0000001F:80F902 | CMP CL,2 |00000022:803DD500000002 | CMP [MemByte],2 |00000029:6683F902 | CMP CX,2 |0000002D:6681F90200 | CMP CX,2,IMM=WORD |00000032:66833DC200000002 | CMP [MemWord],2 |0000003A:66813DB90000000200 | CMP [MemWord],2,IMM=WORD |00000043:48813DAE00000002000000 | CMPQ [MemWord],2,IMM=DWORD |0000004E:83F902 | CMP ECX,2 |00000051:81F902000000 | CMP ECX,2,IMM=DWORD |00000057:833D9A00000002 | CMP [MemDword],2 |0000005E:48833D8A00000002 | CMP [MemQword],2 |00000066:48813D7F00000002000000 | CMP [MemQword],2,IMM=DWORD |00000071:67803F02 | CMPB [EDI],2 |00000075:6667833F02 | CMPW [EDI],2 |0000007A:67833F02 | CMPD [EDI],2 |0000007E:6748833F02 | CMPQ [EDI],2 |00000083:6748813F02000000 | CMPQ [EDI],2,IMM=DWORD |0000008B:38D1 | CMP CL,DL |0000008D:3ACA | CMP CL,DL,CODE=LONG |0000008F:38F5 | CMP CH,DH |00000091:3AEE | CMP CH,DH,CODE=LONG |00000093:4038F5 | CMP BPL,SIL |00000096:403AEE | CMP BPL,SIL,CODE=LONG |00000099:6639D1 | CMP CX,DX |0000009C:663BCA | CMP CX,DX,CODE=LONG |0000009F:39D1 | CMP ECX,EDX |000000A1:3BCA | CMP ECX,EDX,CODE=LONG |000000A3:4839D1 | CMP RCX,RDX |000000A6:483BCA | CMP RCX,RDX,CODE=LONG |000000A9:4D39D1 | CMP R9,R10 |000000AC:4D3BCA | CMP R9,R10,CODE=LONG |000000AF:4C39D1 | CMP RCX,R10 |000000B2:493BCA | CMP RCX,R10,CODE=LONG |000000B5:3A0D43000000 | CMP CL,[MemByte] |000000BB:663B0D3A000000 | CMP CX,[MemWord] |000000C2:3B0D30000000 | CMP ECX,[MemDword] |000000C8:483B0D21000000 | CMP RCX,[MemQword] |000000CF:381529000000 | CMP [MemByte],DL |000000D5:66391520000000 | CMP [MemWord],DX |000000DC:391516000000 | CMP [MemDword],EDX |000000E2:48391507000000 | CMP [MemQword],RDX |000000E9:0F1F8000000000 | ALIGN QWORD |000000F0:0000000000000000 |MemQword D Q |000000F8:00000000 |MemDword D D |000000FC:0000 |MemWord D W |000000FE:00 |MemByte D B | |ENDPROGRAM t3127`

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

▲Back to the top▲