else:
sig = getattr(fields, name)
val = yield sig
- if name == 'BF':
+ if name in ['BF', 'BFA']:
self.namespace[name] = val
else:
self.namespace[name] = SelectableInt(val, sig.width)
--- /dev/null
+--- condition.py.orig 2020-05-16 09:37:19.676855312 -0400
++++ condition.py 2020-05-16 09:37:24.643575782 -0400
+@@ -51,7 +51,7 @@
+
+ @inject()
+ def op_mcrf(self, CR):
+- CR[4 * BF + 32:4 * BF + 35 + 1] = CR[4 * BFA + 32:4 * BFA + 35 + 1]
++ CR.si[4 * BF + 32:4 * BF + 35 + 1] = CR.si[4 * BFA + 32:4 * BFA + 35 + 1]
+ return (CR,)
+
+ condition_instrs = {}