Re:XOR'ing a register with itself is the idiom for zeroing i...
by bonzini on Wednesday April 22, 2026 @09:20AM
(#47863230)
The Z80 can do either LD A,0 or SUB A or XOR A, but the LD is slower due to the extra memory cycle to load the second byte of the instruction.
[ Parent
| on HN ]
There are no comments on this comment yet.