scas

Scan String

SCASB

Compares AL/AX/EAX with memory at [EDI].

Details

The Scan String instruction compares AL/AX/EAX with memory at [EDI].

Pseudocode Operation

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

Example

SCASB

Encoding

Binary Layout
AE
+0
 
Format Legacy
Opcode AE
Extension Base

Operands