diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-07-17 21:01:26 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-07-17 21:01:26 +0100 |
| commit | 7fd114712c1921cb03748d42deeb655f6b225cce (patch) | |
| tree | 9a79fc368fa50ce2778dd4513d982b82d4cee3b7 /src/main/kotlin/cpu/Cpu.kt | |
| parent | 377d5637f618a11b0fca2d37063caa4c2284f85e (diff) | |
| download | KGB-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.kt | 1 |
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() |