mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-05 06:04:36 +00:00
ba35f88d02
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. |
||
---|---|---|
.. | ||
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 |