1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-11 02:28:54 +00:00
6502bench/Asm65
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
..
Properties Initial file commit 2018-09-28 10:05:11 -07:00
Address.cs Initial file commit 2018-09-28 10:05:11 -07:00
Asm65.csproj Initial file commit 2018-09-28 10:05:11 -07:00
CharEncoding.cs PETSCII does DCI 2019-08-20 17:55:12 -07:00
CpuDef.cs Fix display of instruction attributes 2019-10-22 10:48:02 -07:00
Formatter.cs Fix hex format string initialization 2020-02-11 16:38:51 -08:00
Helper.cs Add junk/align directives 2019-10-18 21:00:28 -07:00
Label.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
Number.cs Add file slicer tool 2019-12-29 17:59:35 -08:00
OpDef.cs Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
OpDescription.cs Clarify BRK explanation 2019-10-29 10:18:48 -07:00
OpName.cs Rename undocumented 6502 opcodes to match Unintended Opcodes doc 2018-10-05 14:28:45 -07:00
StatusFlags.cs Initial file commit 2018-09-28 10:05:11 -07:00
StringOpFormatter.cs Define and use "delimiter sets" 2019-08-14 16:10:04 -07:00
TriState16.cs Initial file commit 2018-09-28 10:05:11 -07:00