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 $C0
dp $C4
abs $CC
Similar: CMP | CPX | SBC
See also: 6502 instructions | 6502 addressing modes