From 0300bdfbc4416c6b2deb767fda167a7452c0b856 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Wed, 11 Jul 2018 21:05:20 +0100 Subject: Add rotate ops --- src/main/kotlin/cpu/Cpu.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/kotlin/cpu/Cpu.kt') diff --git a/src/main/kotlin/cpu/Cpu.kt b/src/main/kotlin/cpu/Cpu.kt index ad006d9..fdc75b0 100644 --- a/src/main/kotlin/cpu/Cpu.kt +++ b/src/main/kotlin/cpu/Cpu.kt @@ -17,10 +17,12 @@ class Cpu { stdCommandGroup.putAll(arithmetic8Bit) stdCommandGroup.putAll(arithmetic16Bit) stdCommandGroup.putAll(misc) + stdCommandGroup.putAll(rotates) standardOpcodes = stdCommandGroup.toMap() val extCommandGroup: MutableMap = mutableMapOf() extCommandGroup.putAll(miscExtended) + extCommandGroup.putAll(rotatesExtended) extendedOpcodes = extCommandGroup.toMap() -- cgit v1.2.3