Re:XOR'ing a register with itself is the idiom for zeroing i...
by lochnessduck on Wednesday April 22, 2026 @03:49PM
(#47868385)
I use the carry flag in a lot of z80 assembly for communicating a status of an operation. XOR doesn’t mess with the carry flag, I think it’s another point in favor of xor. (Though I don’t remember even considering using sub)
[ Parent
| on HN ]