Get the latest tech news
XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?
Apr 21, 2026 Post comments count1 Post likes count0 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 v.
None
Or read this on Hacker News