News for hackers. Stuff that matters.
Re:What I learned from my first C coding challenge by to3m on Tuesday September 04, 2012 @10:19PM (#4477608)
There is no need to compare - ORing the register with itself will suffice to set the Z flag. This is more concise on x86 - i think it's 2 bytes to OR a 32-bit register with itself, vs 3 for a compare with a (sign-extended) 8-bit immediate zero.

There are no comments on this comment yet.