mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +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. |
||
---|---|---|
.. | ||
10001-allops-value-65C02.S | ||
10001-allops-value-6502.S | ||
10002-allops-value-65816.S | ||
10010-allops-zero-6502.S | ||
10011-allops-zero-65C02.S | ||
10012-allops-zero-65816.S | ||
10022-embedded-instructions.S | ||
10032-flags-and-branches.S | ||
10042-data-recognition.S | ||
20000-numeric-types.S | ||
20010-string-types.S | ||
20020-operand-formats.S | ||
20022-operand-formats.S | ||
20030-labels-and-symbols.S | ||
20032-labels-and-symbols.S | ||
20042-address-changes.S | ||
20050-branches-and-banks.cfg | ||
20050-branches-and-banks.S | ||
20052-branches-and-banks.cfg | ||
20052-branches-and-banks.S | ||
20062-target-adjustment.S | ||
20070-hinting.S | ||
20081-label-localizer.S | ||
20090-notes-and-comments.S | ||
20102-label-dp.S | ||
20122-char-encoding.S | ||
20152-local-variables.S | ||
20162-cycle-counts-65816.S | ||
20170-external-symbols.S | ||
20182-extension-scripts.S | ||
20190-non-unique-labels.S | ||
20200-ui-edge-cases.S | ||
20212-reloc-data-bank2.S | ||
20212-reloc-data-bank8.S | ||
20212-reloc-data-filler.S | ||
20212-reloc-data-lnk.S | ||
20212-reloc-data-main.S | ||
20212-reloc-data-relover.S | ||
20222-data-bank.S | ||
allops-common-65C02.S | ||
allops-common-6502.S | ||
allops-common-65816.S |