I'm playing with Klaus2m5's 6502 test suite and have run in to some behaviour in the SBC tests that has me pulling my hair out. I'm running the tests in a simulator I've built around Omar's modified version of the fake6502 library.
A lot of confusion around ADC/SBC seems to be around the overflow ...