1
0
mirror of https://github.com/mre/mos6502.git synced 2025-01-10 15:29:31 +00:00
Matthias 2c65fe7e1b Fix SBC implementation and improve overflow detection
- Correct decimal mode subtraction in SBC operation
- Implement accurate overflow detection for non-decimal mode
- Fix carry flag calculation as inverse of borrow
- Add comments explaining complex bit manipulation for overflow detection
- Update tests to verify correct behavior in both decimal and non-decimal modes

This commit addresses issues with the Subtract with Carry (SBC) operation,
ensuring correct behavior in both decimal and non-decimal modes, and
improves code readability with added comments.
2024-10-18 21:01:06 +02:00
..
2024-07-29 13:13:07 +02:00
2024-04-27 19:51:39 +01:00
2024-04-27 19:51:39 +01:00