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.
Sort: