Re:Why xor eax, eax?
by brucehoult on Monday December 01, 2025 @08:18PM
(#46116086)
That's 1 byte smaller than `LDA #0`, but not faster. And you don't have enough registers to waste them -- being able to do `STZ` and the `(zp)` addressing mode without having to keep 0 in Z or Y were small but soooo convenient things in the 65C02.
[ Parent
| on HN ]