dimanche 18 septembre 2016

Linux assembly: what's difference between "test eax,eax" and "cmp eax,0"

Is "test eax,eax" more efficient than "cmp eax,0"? Is there any case that the "test eax,eax" is necessary where "cmp eax,0" doesn't fulfill requirement?

Thanks!

Aucun commentaire:

Enregistrer un commentaire