6502 icon indicating copy to clipboard operation
6502 copied to clipboard

ADC mis-simulation (carry bug)

Open migry opened this issue 7 months ago • 0 comments

I have now run a 6502 instruction test suite on my Acorn Atom simulator which uses code from this repo. It reported a problem with the ADC instruction, and manual analysis suggested that it was the carry bit which was mis-calculated.

I modified the code to re-calculate the carry bit only. The testsuite then ran until I stopped it. Also the Acorn Atom simulator now behaved 100% normally (as much as simple testing can show).

migry avatar Jun 18 '25 15:06 migry