mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-05 06:04:36 +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. |
||
---|---|---|
.. | ||
Properties | ||
Address.cs | ||
Asm65.csproj | ||
CharEncoding.cs | ||
CpuDef.cs | ||
Formatter.cs | ||
Helper.cs | ||
Label.cs | ||
Number.cs | ||
OpDef.cs | ||
OpDescription.cs | ||
OpName.cs | ||
StatusFlags.cs | ||
StringOpFormatter.cs | ||
TriState16.cs |