XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?

Somehow xor became the most popular version.
188 points by ingve 183 days ago devblogs.microsoft.com 192 comments
Summary not yet generated for this article.

Comments (192 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open