test eax,1000
cmp eax,1000


What's the difference between them?


/Delight
Posted on 2001-10-11 05:26:03 by Delight
TEST is exactly the same as AND except it doesn't store the result,
CMP is exactly the same as SUB except it doesn't store the result.

Mirno
Posted on 2001-10-11 05:29:44 by Mirno
Ahaaaa...now I get it! Thank you Mirno!:)



/Delight
Posted on 2001-10-11 05:56:09 by Delight