mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-08-09 23:24:59 +00:00
add exhaustive case
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user