View Single Post
Old May 18th, 2006, 12:04 PM   #14
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 3 Narue is on a distinguished road
"test ax,ax" does the same thing as "cmp ax,0", but in a different way. In case you're curious, because at this point it doesn't really matter, cmp performs a subtraction and test performs a bitwise AND.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote