repe cmps
Repeat Compare String Equal
REPE CMPS m, m
Compares [ESI] and [EDI] until mismatch or ECX=0.
Details
The Repeat Compare String Equal instruction compares [ESI] and [EDI] until mismatch or ECX=0.
Pseudocode Operation
// Compares [ESI] and [EDI] until mismatch or ECX=0
Example
REPE CMPS m, [rbp-8]
Operands
-
dest
Implicit memory for CMPS string compare (DS:[SI] vs ES:[DI])
-
src
Memory operand