Hacker News new | ask | show | jobs
by akeruu 3469 days ago
X can always by devided by 2, meaning the condition will always be false thus returning "a" unchanged. "xor eax, eax" is a shortcut to "mov eax, 0".