mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-08-16 22:28:25 +00:00
isolated injected opcodes
This commit is contained in:
@@ -15,8 +15,7 @@ object MatchOpcodes {
|
||||
.collect { case (n, Some(x)) => (n, x) }
|
||||
.toMap
|
||||
|
||||
def doStuff(out: PrintWriter): Unit = {
|
||||
val injected =
|
||||
def injectedOpcodes: Map[Int, (Instruction, AddressingMode)] =
|
||||
Map(
|
||||
0x10 -> BPL,
|
||||
0x30 -> BMI,
|
||||
@@ -58,7 +57,8 @@ object MatchOpcodes {
|
||||
0xEA -> NOP
|
||||
).mapValues(x => x -> Implied)
|
||||
|
||||
val lookup = generatedOpcodes ++ injected
|
||||
def doStuff(out: PrintWriter): Unit = {
|
||||
val lookup = generatedOpcodes ++ injectedOpcodes
|
||||
|
||||
out.print("<table>")
|
||||
|
||||
|
Reference in New Issue
Block a user