diff --git a/riscemu/instructions/instruction_set.py b/riscemu/instructions/instruction_set.py index ef91d18..191686c 100644 --- a/riscemu/instructions/instruction_set.py +++ b/riscemu/instructions/instruction_set.py @@ -77,8 +77,8 @@ class InstructionSet(ABC): ASSERT_LEN(ins.args, 3) if signed: return ins.get_reg(0), \ - self.get_reg_content(ins, 1), \ - self.get_reg_content(ins, 2) + Int32(self.get_reg_content(ins, 1)), \ + Int32(self.get_reg_content(ins, 2)) else: return ins.get_reg(0), \ UInt32(self.get_reg_content(ins, 1)), \