The 6510 and variants were based on the same core as the 6502, and are opcode compatible, including undocumented opcodes.