for name, output in zip(output_names, results):
regnum = yield getattr(self.decoder, name)
print('writing reg %d' % regnum)
- if isinstance(output, int):
- output = SelectableInt(output, 64)
+ if output.bits > 64:
+ output = SelectableInt(output.value, 64)
self.gpr[regnum] = output