aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cpu/Cpu.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-17 21:01:26 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-17 21:01:26 +0100
commit7fd114712c1921cb03748d42deeb655f6b225cce (patch)
tree9a79fc368fa50ce2778dd4513d982b82d4cee3b7 /src/main/kotlin/cpu/Cpu.kt
parent377d5637f618a11b0fca2d37063caa4c2284f85e (diff)
downloadKGB-7fd114712c1921cb03748d42deeb655f6b225cce.tar.xz
KGB-7fd114712c1921cb03748d42deeb655f6b225cce.zip
Implement the last set of ops. RETs
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 32fd39a..91150c4 100644
--- a/src/main/kotlin/cpu/Cpu.kt
+++ b/src/main/kotlin/cpu/Cpu.kt
@@ -21,6 +21,7 @@ class Cpu {
stdCommandGroup.putAll(jumps)
stdCommandGroup.putAll(calls)
stdCommandGroup.putAll(restarts)
+ stdCommandGroup.putAll(returns)
standardOpcodes = stdCommandGroup.toMap()
val extCommandGroup: MutableMap<Int, Operation> = mutableMapOf()