testing if a register equals itself in ia32

Posted by hatorade on Stack Overflow See other posts from Stack Overflow or by hatorade
Published on 2010-05-10T23:37:17Z Indexed on 2010/05/10 23:44 UTC
Read the original article Hit count: 141

Filed under:
|
|

(ia32) for example,

test $eax, $eax

why would you ever want to do that? it does $eax & $eax, right? shouldn't this always set the flag register to say that they are equal..?

© Stack Overflow or respective owner

Related posts about registers

Related posts about ia32