cmpsw

Compare String Word

CMPSW

Compares word at [ESI] with [EDI].

Details

The Compare String Word instruction compares word at [ESI] with [EDI].

Pseudocode Operation

Flags <- Memory[RSI] - Memory[RDI]
RSI += size; RDI += size

Example

CMPSW

Encoding

Binary Layout
66
+0
A7
+1
 
Format Legacy
Opcode 66 A7
Extension Base

Operands