Hacker News new | ask | show | jobs
by Someone 26 days ago
> The COMPARE_ACCUMULATOR instruction (actually CMP in 6502 and similar in other instruction sets)

I think 6502 is the rare exception of a CPU that sets the zero and negative flags on memory loads. If so, you wouldn’t need a CMP there.