A brief exploration of why the XOR instruction became the dominant idiom for zeroing a register in x86 assembly, rather than the SUB instruction, even though both achieve the same result.

1m read timeFrom devblogs.microsoft.com
Post cover image

Sort: