aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-12 21:48:35 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-12 21:48:35 +0100
commit8b015d9168e3de1ef63982892401081103cfb7b7 (patch)
treeaca22afe5792e7236d138623c95e5ab076dc8283 /src/main/kotlin/cpu/Cpu.kt
parent0300bdfbc4416c6b2deb767fda167a7452c0b856 (diff)
downloadKGB-8b015d9168e3de1ef63982892401081103cfb7b7.tar.xz
KGB-8b015d9168e3de1ef63982892401081103cfb7b7.zip
Add shift 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 fdc75b0..ab8a96c 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -23,6 +23,7 @@ class Cpu {
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()
extCommandGroup.putAll(miscExtended)
extCommandGroup.putAll(rotatesExtended)
+ extCommandGroup.putAll(shiftsExtended)
extendedOpcodes = extCommandGroup.toMap()