repne scas

Repeat Scan String Not Equal

REPNE SCAS m

Scans [EDI] for AL/AX/EAX until match or ECX=0.

Details

The Repeat Scan String Not Equal instruction scans [EDI] for AL/AX/EAX until match or ECX=0.

Pseudocode Operation

// Scans [EDI] for AL/AX/EAX until match or ECX=0

Example

REPNE SCAS m

Encoding

Binary Layout
F2
+0
 
Format Legacy
Opcode F2 AE/AF
Extension Base

Operands

  • dest
    Implicit memory for SCAS (compare accumulator with ES:[DI])