Timeline for Why use an ADC or SBC with immediate zero on a 6502?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 26, 2020 at 15:55 | comment | added | fadden | Another fun use: comparing two 16-bit values. You CMP the low byte to set the carry, then SBC the high byte. (Example: 6502disassembly.com/a2-f8rom/OrigF8ROM.html#SymNXTA1) | |
| Feb 26, 2020 at 15:13 | history | answered | cjs | CC BY-SA 4.0 |