mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-01-21 17:32:13 +00:00
add exhaustive case
This commit is contained in:
parent
f3bfa0b42f
commit
b96a9c3a55
@ -247,6 +247,7 @@ object MatchOpcodes {
|
||||
case 1 => c01(aaa, bbb)
|
||||
case 2 => c10(aaa, bbb)
|
||||
case 3 => None
|
||||
case _ => throw new IllegalStateException("two bits did not result in two-bit number")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user