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

SubmittedTitle on HNPointsComments
Apr 22, 2026XOR'ing a register with itself is the idiom for zeroing it out. Why not sub? by ingve231216

More from Microsoft Developer Blogs

All 156 posts →

Related posts from the same era