mirror of
https://github.com/KarolS/millfork.git
synced 2025-04-04 22:29:32 +00:00
ISC also reads A – fixed bug that appeared due to optimization
This commit is contained in:
parent
ae1bc96da7
commit
2779671300
@ -12,13 +12,13 @@ object OpcodeClasses {
|
||||
|
||||
val ReadsAAlways = Set(
|
||||
ADC, AND, BIT, CMP, EOR, ORA, PHA, SBC, STA, TAX, TAY,
|
||||
SAX, SBX, ANC, DCP
|
||||
SAX, SBX, ANC, DCP, ISC, RRA, RLA, SRE, SLO, LXA, XAA, AHX, TAS
|
||||
)
|
||||
val ReadsAIfImplied = Set(ASL, LSR, ROL, ROR, INC, DEC)
|
||||
val ReadsXAlways = Set(
|
||||
CPX, DEX, INX, STX, TXA, TXS, SBX,
|
||||
PLX,
|
||||
XAA, SAX, AHX, SHX
|
||||
XAA, SAX, AHX, SHX, TAS
|
||||
)
|
||||
val ReadsYAlways = Set(CPY, DEY, INY, STY, TYA, PLY, SHY)
|
||||
val ReadsZ = Set(BNE, BEQ, PHP)
|
||||
|
Loading…
x
Reference in New Issue
Block a user