1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-05 06:04:36 +00:00
6502bench/Asm65
Andy McFadden ba35f88d02 Mark flags as indeterminate for inline BRK
We weren't altering the status flags after a BRK because of the
assumption that a BRK was a crash.  For an inline BRK, such as a SOS
call, execution continues.  We need to mark NVZC indeterminate or
we may incorrectly handle conditional branches that follow.

The BRK instruction now uses the same flag updater as JSR, since it's
effectively a subroutine call to unknown code.  If execution doesn't
continue across the BRK then the flags don't matter.

Updated 20182-extension-scripts to exercise this.
2020-08-22 08:56:38 -07:00
..
Properties
Address.cs
Asm65.csproj
CharEncoding.cs
CpuDef.cs
Formatter.cs Make operand wrap length configurable 2020-07-19 18:39:27 -07:00
Helper.cs
Label.cs
Number.cs
OpDef.cs Mark flags as indeterminate for inline BRK 2020-08-22 08:56:38 -07:00
OpDescription.cs
OpName.cs
StatusFlags.cs
StringOpFormatter.cs Make operand wrap length configurable 2020-07-19 18:39:27 -07:00
TriState16.cs