summaryrefslogtreecommitdiff
path: root/cpu_dsl.py
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2020-06-13 00:37:22 -0700
committerMichael Pavone <pavone@retrodev.com>2020-06-13 00:37:22 -0700
commitebca48ed21ecee3f76644d740f49074b72a52955 (patch)
tree5e5f389c1ca3ed9529d4c57d251340b0218d6a40 /cpu_dsl.py
parentfb293afbcf0252107b51ca66f89796c7fa20e02a (diff)
Somewhat buggy implementations of shift instructions in new 68K core
Diffstat (limited to 'cpu_dsl.py')
-rwxr-xr-xcpu_dsl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu_dsl.py b/cpu_dsl.py
index f58749c..44e08fe 100755
--- a/cpu_dsl.py
+++ b/cpu_dsl.py
@@ -899,7 +899,7 @@ class NormalOp:
else:
param = parent.resolveLocal(param) or param
if param in fieldVals:
- param = fieldVals[index]
+ param = fieldVals[param]
prog.meta[self.params[0]] = param
elif self.op == 'dis':
#TODO: Disassembler