Microsoft Developer Blogs company blog
XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?
Somehow xor became the most popular version.
- Points
- 231
- HN comments
- 216
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2026
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 22, 2026 | XOR'ing a register with itself is the idiom for zeroing it out. Why not sub? by ingve | 231 | 216 |