vfxsoup wrote:
Thank you BigEd. It's good to know that my understanding of the Visual 6502 output is on the right track! I took a closer look at the op-codes for all the ADC and SBC variants, which will make use of the C flag. Turns out they are all uniquely identified by the bitmask x11xxx01. I'll do the same for the IN_ op-codes, which require a forced 01 and see if there's a similar pattern.
If you look at the 6502
opcode map you'll see almost every opcode fits into a bitmask pattern. INX/DEX/INY/DEY not so much.