logoalt Hacker News

MathMonkeyMantoday at 8:05 AM2 repliesview on HN

`xor eax, eax` is less code when assembled. That's why compilers generate it.


Replies

gobdovantoday at 8:17 AM

..and reliably generate it for decades, but you can still manually do it in C for bonus stylistic points!