diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-06-27 21:56:05 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-06-27 21:56:05 +0100 |
| commit | 6f87feb0c835589adcd566323e058a9158860071 (patch) | |
| tree | 2ccfd21db561892d6b1ec1d3209f0dc72a00151b /src/main/kotlin/cpu/Cpu.kt | |
| parent | 155c200400ac80be1113e35df6637e2f77296d1a (diff) | |
| download | KGB-6f87feb0c835589adcd566323e058a9158860071.tar.xz KGB-6f87feb0c835589adcd566323e058a9158860071.zip | |
Add 16-Bit pop commands
Diffstat (limited to 'src/main/kotlin/cpu/Cpu.kt')
| -rw-r--r-- | src/main/kotlin/cpu/Cpu.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/cpu/Cpu.kt b/src/main/kotlin/cpu/Cpu.kt index 7ea34a4..e755a08 100644 --- a/src/main/kotlin/cpu/Cpu.kt +++ b/src/main/kotlin/cpu/Cpu.kt @@ -1,5 +1,6 @@ package cpu +import cpu.opcodes.loads16Bit import cpu.opcodes.loads8Bit import ram.Ram @@ -12,6 +13,7 @@ class Cpu { init { val commandGroups: MutableMap<Int, Operation> = mutableMapOf() commandGroups.putAll(loads8Bit) + commandGroups.putAll(loads16Bit) opcodes = commandGroups.toMap() } |