A
6502 instruction that does a subtraction X - N, throwing away the result but updating the flags. Often used for comparisons.
- Function: X - N => bit bucket
- Updates flags: S . . . . . Z C
- Opcode numbers:
imm $E0
dp $E4
abs $EC
Similar: CMP | CPY
See also: 6502 instructions | 6502 addressing modes