mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-02-01 14:31:12 +00:00
c1 correction
This commit is contained in:
parent
972fa77d10
commit
22e8d615ab
@ -252,7 +252,13 @@ object MatchOpcodes {
|
||||
val addressingMode =
|
||||
Seq(IndirectX, ZeroPage, Immediate, Absolute, IndirectY, ZeroPageX, AbsoluteY, AbsoluteX)(bbb)
|
||||
|
||||
(instruction -> addressingMode).some
|
||||
(instruction, addressingMode) match {
|
||||
case (STA, Immediate) =>
|
||||
None
|
||||
|
||||
case _ =>
|
||||
(instruction -> addressingMode).some
|
||||
}
|
||||
}
|
||||
|
||||
def c10(aaa: Int, bbb: Int): Option[(Instruction, AddressingMode)] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user