Apr 21, 2026 Post comments count24 Post likes count3 Sure, xor’ing a register with itself is the idiom for zeroing it out, but why not sub? Raymond Chen Somehow xor became the most popular version.