aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 21:27:33 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 21:27:33 +0100
commitae3bb9819aad653d6a2ed972000e3c3696e39bf1 (patch)
tree38cf07fc92c728807f03603ac0b0f7c51df77115 /src/main/kotlin/cpu/Cpu.kt
parent244cf2663133abb2fb861bce0474344999652f67 (diff)
downloadKGB-ae3bb9819aad653d6a2ed972000e3c3696e39bf1.tar.xz
KGB-ae3bb9819aad653d6a2ed972000e3c3696e39bf1.zip
Implement JUMP ops
Diffstat (limited to 'src/main/kotlin/cpu/Cpu.kt')
-rw-r--r--src/main/kotlin/cpu/Cpu.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/cpu/Cpu.kt b/src/main/kotlin/cpu/Cpu.kt
index feb89bc..ce5ba43 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -18,6 +18,7 @@ class Cpu {
stdCommandGroup.putAll(arithmetic16Bit)
stdCommandGroup.putAll(misc)
stdCommandGroup.putAll(rotates)
+ stdCommandGroup.putAll(jumps)
standardOpcodes = stdCommandGroup.toMap()
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()