Fix sign issue in parse_rd_rs_rs (#16)

master
K-W-Li 2 years ago committed by GitHub
parent be0591ed25
commit 1d65b236f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,8 +77,8 @@ class InstructionSet(ABC):
ASSERT_LEN(ins.args, 3) ASSERT_LEN(ins.args, 3)
if signed: if signed:
return ins.get_reg(0), \ return ins.get_reg(0), \
self.get_reg_content(ins, 1), \ Int32(self.get_reg_content(ins, 1)), \
self.get_reg_content(ins, 2) Int32(self.get_reg_content(ins, 2))
else: else:
return ins.get_reg(0), \ return ins.get_reg(0), \
UInt32(self.get_reg_content(ins, 1)), \ UInt32(self.get_reg_content(ins, 1)), \

Loading…
Cancel
Save