scasw
Scan String Word
SCASW
Compares AX with memory at [EDI].
Details
The Scan String Word instruction compares AX with memory at [EDI].
Pseudocode Operation
Flags <- rAX - Memory[RDI]; RDI += size
Example
SCASW
Encoding
Binary Layout
66
+0
AF
+1