1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-02-10 03:30:45 +00:00
Andy McFadden 288a857e47 Change PLP handling
The "smart" PLP handler tries to recover the flags from an earlier
PHP.  The non-smart version just marks all the flags as indeterminate.
This doesn't work well on the 65816 in native mode, because having
the M/X flags in an indeterminate state is rarely what you want.

Code rarely uses PLP to reset the flags to a specific state, preferring
explicit SEP/REP.  The analyzer is more likely to get the correct
answer by simply leaving the flags in their prior state.

A test case has been added to 20052-branches-and-banks, which now has
"smart PLP" disabled.
2020-07-20 11:54:00 -07:00
..
2020-07-10 21:22:18 -07:00
2020-07-15 16:18:02 -07:00
2020-07-20 11:54:00 -07:00
2020-07-19 13:20:18 -07:00
2020-07-20 11:54:00 -07:00
2020-07-05 17:17:44 -07:00
2020-07-11 17:09:37 -07:00
2020-07-20 11:54:00 -07:00
2020-07-15 17:43:08 -07:00
2020-07-16 10:14:28 -07:00
2020-07-15 16:18:02 -07:00