1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/SGTestData/Source
Andy McFadden facaa721de Fix AND/ORA imm flag updater
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.
2020-05-01 17:29:22 -07:00
..
1000-allops-value-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
1001-allops-zero-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
1002-embedded-instructions.S Initial file commit 2018-09-28 10:05:11 -07:00
1003-flags-and-branches.S Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1004-data-recognition.S Initial file commit 2018-09-28 10:05:11 -07:00
2000-allops-value-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
2001-allops-zero-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
2002-allops-value-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
2003-allops-zero-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
2004-numeric-types.S Add regression test for data analysis bug 2019-12-30 14:09:18 -08:00
2005-string-types.S Initial file commit 2018-09-28 10:05:11 -07:00
2006-operand-formats.S Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2007-labels-and-symbols.S Progress toward 64tass expression support 2018-10-24 13:17:03 -07:00
2008-address-changes.S Initial file commit 2018-09-28 10:05:11 -07:00
2009-branches-and-banks.cfg Add a blank line between constants and addresses 2019-10-22 22:45:13 -07:00
2009-branches-and-banks.S Add a blank line between constants and addresses 2019-10-22 22:45:13 -07:00
2010-target-adjustment.S Tweak "nearby" label finder 2019-10-29 18:12:22 -07:00
2011-hinting.S Fix handling of data formatting that overlaps with code 2019-09-14 11:44:17 -07:00
2012-label-localizer.S Remap labels that use opcode mnemonics 2019-09-20 15:29:34 -07:00
2013-notes-and-comments.S Initial file commit 2018-09-28 10:05:11 -07:00
2014-label-dp.S Add 2014-label-dp 2018-10-30 16:07:35 -07:00
2016-char-encoding.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2019-local-variables.S Work around two assembler issues 2019-09-20 14:05:17 -07:00
2020-cycle-counts-65816.S Rename regression test 2020 to reflect the CPU configuration 2019-09-15 17:02:21 -07:00
2021-external-symbols.S Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2022-extension-scripts.S Correctly handle embedded instruction edge case 2019-10-19 17:28:45 -07:00
2023-non-unique-labels.S Label rework, part 6 2019-11-18 13:36:53 -08:00
2024-ui-edge-cases.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
allops-common-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-65816.S Initial file commit 2018-09-28 10:05:11 -07:00