aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 21:57:53 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-16 21:57:53 +0100
commita6e35c04ce8a37e78702997977c95e1d1bafb932 (patch)
tree5e1618eaa805ffe1dc686d67406fe3a389a2a589 /src/main/kotlin/cpu/Cpu.kt
parentae3bb9819aad653d6a2ed972000e3c3696e39bf1 (diff)
downloadKGB-a6e35c04ce8a37e78702997977c95e1d1bafb932.tar.xz
KGB-a6e35c04ce8a37e78702997977c95e1d1bafb932.zip
Add CALLs
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 ce5ba43..3336900 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -19,6 +19,7 @@ class Cpu {
stdCommandGroup.putAll(misc)
stdCommandGroup.putAll(rotates)
stdCommandGroup.putAll(jumps)
+ stdCommandGroup.putAll(calls)
standardOpcodes = stdCommandGroup.toMap()
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()