aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/cpu/Cpu.kt')
-rw-r--r--src/main/kotlin/cpu/Cpu.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/cpu/Cpu.kt b/src/main/kotlin/cpu/Cpu.kt
index ad006d9..fdc75b0 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -17,10 +17,12 @@ class Cpu {
stdCommandGroup.putAll(arithmetic8Bit)
stdCommandGroup.putAll(arithmetic16Bit)
stdCommandGroup.putAll(misc)
+ stdCommandGroup.putAll(rotates)
standardOpcodes = stdCommandGroup.toMap()
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()
extCommandGroup.putAll(miscExtended)
+ extCommandGroup.putAll(rotatesExtended)
extendedOpcodes = extCommandGroup.toMap()