mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
facaa721de
The code was making an unwarranted assumption about how the flags were being set. For example, ORA #$00 can't know if the previous contents of the accumulator were nonzero, only that the instruction hasn't made them nonzero, but instead of marking the Z-flag "indeterminate" it was leaving the flag in its previous state. This produces incorrect results if the previous instruction didn't set its flags from the accumulator contents, e.g. it was an LDX. Test 1003-flags-and-branches has been updated to test these states. |
||
---|---|---|
.. | ||
1000-allops-value-65816.S | ||
1001-allops-zero-65816.S | ||
1002-embedded-instructions.S | ||
1003-flags-and-branches.S | ||
1004-data-recognition.S | ||
2000-allops-value-6502.S | ||
2001-allops-zero-6502.S | ||
2002-allops-value-65C02.S | ||
2003-allops-zero-65C02.S | ||
2004-numeric-types.S | ||
2005-string-types.S | ||
2006-operand-formats.S | ||
2007-labels-and-symbols.S | ||
2008-address-changes.S | ||
2009-branches-and-banks.cfg | ||
2009-branches-and-banks.S | ||
2010-target-adjustment.S | ||
2011-hinting.S | ||
2012-label-localizer.S | ||
2013-notes-and-comments.S | ||
2014-label-dp.S | ||
2016-char-encoding.S | ||
2019-local-variables.S | ||
2020-cycle-counts-65816.S | ||
2021-external-symbols.S | ||
2022-extension-scripts.S | ||
2023-non-unique-labels.S | ||
2024-ui-edge-cases.S | ||
allops-common-65C02.S | ||
allops-common-6502.S | ||
allops-common-65816.S |