Fix sign issue in parse_rd_rs_rs (#16)
This commit is contained in:
parent
be0591ed25
commit
1d65b236f4
@ -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)), \
|
||||
|
Loading…
Reference in New Issue
Block a user