logoalt Hacker News

bitwizetoday at 2:31 PM0 repliesview on HN

Because mov eax, 0 requires fetching a constant and prolongs instruction fetching/execution. XOR A was a trick I learned back in the Z80 days.