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

# Test t3214: Machine instructions CMPS CMPSB CMPSW CMPSD CMPSQ

Tested procedures
  IigCMPS IigCMPSB IigCMPSW IigCMPSD IigCMPSQ

Source & expected listing t3214.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=X64 | |t3214 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF | |;; |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:A6 | CMPSB |0001:A7 | CMPSW |0002:66A7 | CMPSD |0004:A6 | CMPS DATA=BYTE |0005:A7 | CMPS DATA=WORD |0006:66A7 | CMPS DATA=DWORD |0008:F3A7 | REP CMPSW |000A:F3A7 | REPE CMPSW |000C:F2A7 | REPNE CMPSW |000E:26A7 | SEGES CMPSW |0010:2EA7 | SEGCS CMPSW |0012:3EA7 | SEGDS CMPSW |0014:26A7 | SEGES CMPS [SI],[DI],DATA=WORD |0016:36A7 | SEGSS CMPS [SI],[DI],DATA=WORD |0018:3EA7 | SEGDS CMPS [SI],[DI],DATA=WORD |001A:26A7 | CMPSW [ES:SI],[ES:DI] |001C:36A7 | CMPSW [SS:SI],[ES:DI] |001E:A7 | CMPSW [DS:SI],[ES:DI] |001F:67A6 | CMPSB [ESI],[EDI] |0021:67A7 | CMPSW [ESI],[EDI] |0023:6667A7 | CMPSD [ESI],[EDI] |0026:A6 | CMPS [MemByte],[DI] |0027:A7 | CMPS [MemWord],[DI] |0028:66A7 | CMPS [MemDword],[DI] |002A:67A6 | CMPS [MemByte],[EDI] |002C:67A7 | CMPS [MemWord],[EDI] |002E:6667A7 | CMPS [MemDword],[EDI] |0031:A6 | CMPS [SI+MemByte],[DI] |0032:A7 | CMPS [SI+MemWord],[DI] |0033:66A7 | CMPS [SI+MemDword],[DI] | |;; |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:A6 | CMPSB |00000001:66A7 | CMPSW |00000003:A7 | CMPSD |00000004:A6 | CMPS DATA=BYTE |00000005:66A7 | CMPS DATA=WORD |00000007:A7 | CMPS DATA=DWORD |00000008:F3A7 | REP CMPSD |0000000A:F3A7 | REPE CMPSD |0000000C:F2A7 | REPNE CMPSD |0000000E:26A7 | SEGES CMPSD |00000010:2EA7 | SEGCS CMPSD |00000012:3EA7 | SEGDS CMPSD |00000014:2667A7 | SEGES CMPS [SI],[DI],DATA=DWORD |00000017:3667A7 | SEGSS CMPS [SI],[DI],DATA=DWORD |0000001A:3E67A7 | SEGDS CMPS [SI],[DI],DATA=DWORD |0000001D:26A7 | CMPSD [ES:ESI],[ES:EDI] |0000001F:36A7 | CMPSD [SS:ESI],[ES:EDI] |00000021:A7 | CMPSD [DS:ESI],[ES:EDI] |00000022:67A6 | CMPSB [SI],[DI] |00000024:6667A7 | CMPSW [SI],[DI] |00000027:67A7 | CMPSD [SI],[DI] |00000029:A6 | CMPS [MemByte],[EDI] |0000002A:66A7 | CMPS [MemWord],[EDI] |0000002C:A7 | CMPS [MemDword],[EDI] |0000002D:67A6 | CMPS [MemByte],[DI] |0000002F:6667A7 | CMPS [MemWord],[DI] |00000032:67A7 | CMPS [MemDword],[DI] |00000034:A6 | CMPS [ESI+MemByte],[EDI] |00000035:66A7 | CMPS [ESI+MemWord],[EDI] |00000037:A7 | CMPS [ESI+MemDword],[EDI] | |;; |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:A6 | CMPSB |00000001:66A7 | CMPSW |00000003:A7 | CMPSD |00000004:48A7 | CMPSQ |00000006:F348A7 | REP CMPSQ |00000009:F348A7 | REPE CMPSQ |0000000C:F248A7 | REPNE CMPSQ |0000000F:A6 | CMPS DATA=BYTE |00000010:66A7 | CMPS DATA=WORD |00000012:A7 | CMPS DATA=DWORD |00000013:48A7 | CMPS DATA=QWORD |00000015:A6 | CMPS [RSI],[RDI],DATA=BYTE |00000016:66A7 | CMPS [RSI],[RDI],DATA=WORD |00000018:A7 | CMPS [RSI],[RDI],DATA=DWORD |00000019:48A7 | CMPS [RSI],[RDI],DATA=QWORD |0000001B:6467A6 | CMPSB [FS:ESI],[EDI] |0000001E:646667A7 | CMPSW [FS:ESI],[EDI] |00000022:6467A7 | CMPSD [FS:ESI],[EDI] |00000025:646748A7 | CMPSQ [FS:ESI],[EDI] |00000029:A6 | CMPS [MemByte],[RDI] |0000002A:66A7 | CMPS [MemWord],[RDI] |0000002C:A7 | CMPS [MemDword],[RDI] |0000002D:48A7 | CMPS [MemQword],[RDI] |0000002F:A6 | CMPS [RSI+MemByte],[RDI] |00000030:66A7 | CMPS [RSI+MemWord],[RDI] |00000032:A7 | CMPS [RSI+MemDword],[RDI] |00000033:48A7 | CMPS [RSI+MemQword],[RDI] |00000035:0F1F00 | ALIGN QWORD |00000038:0000000000000000 |MemQword DQ Q |00000040:00000000 |MemDword DD D |00000044:0000 |MemWord DW W |00000046:00 |MemByte DB B | | ENDPROGRAM t3214`

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

▲Back to the top▲