|
* |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
? |
Code | Mnemonic | Description |
AE | SCAS m8 | Compare AL with byte at ES:(E)DI and set status flags |
AF | SCAS m16 | Compare AX with word at ES:(E)DI and set status flags |
AF | SCAS m32 | Compare EAX with doubleword at ES(E)DI and set status flags |
AE | SCASB | Compare AL with byte at ES:(E)DI and set status flags |
AF | SCASW | Compare AX with word at ES:(E)DI and set status flags |
AF | SCASD | Compare EAX with doubleword at ES:(E)DI and set status flags |
Operands | Bytes | Clocks | |
scasb | 1 | 4 | NP |
scasw | 1 | 4 | NP |
scasd | 1 | 4 | NP |
repe/ repz/ repne/ repnz scasb | 2 | 8 + 4( count of bytes, words or dwords) | NP |
repe/ repz/ repne/ repnz scasw | 2 | 8 + 4( count of bytes, words or dwords) | NP |
repe/ repz/ repne/ repnz scasd | 2 | 8 + 4( count of bytes, words or dwords) | NP |
ID | unaffected | DF | unaffected |
VIP | unaffected | IF | unaffected |
VIF | unaffected | TF | unaffected |
AC | unaffected | SF | sets according to the temporary result of the comparison |
VM | unaffected | ZF | sets according to the temporary result of the comparison |
RF | unaffected | AF | sets according to the temporary result of the comparison |
NT | unaffected | PF | sets according to the temporary result of the comparison |
IOPL | unaffected | CF | sets according to the temporary result of the comparison |
OF | sets according to the temporary result of the comparison |