aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 22:18:02 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 22:18:02 +0100
commit377d5637f618a11b0fca2d37063caa4c2284f85e (patch)
tree93d035b7f97995a2c657de576f99f32b604a7e98 /src/main/kotlin/cpu/Cpu.kt
parenta6e35c04ce8a37e78702997977c95e1d1bafb932 (diff)
downloadKGB-377d5637f618a11b0fca2d37063caa4c2284f85e.tar.xz
KGB-377d5637f618a11b0fca2d37063caa4c2284f85e.zip
Add RST 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 3336900..32fd39a 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -20,6 +20,7 @@ class Cpu {
stdCommandGroup.putAll(rotates)
stdCommandGroup.putAll(jumps)
stdCommandGroup.putAll(calls)
+ stdCommandGroup.putAll(restarts)
standardOpcodes = stdCommandGroup.toMap()
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()