kernel-mode #1

Manually merged
anton merged 69 commits from kernel-mode into master 2021-11-16 08:02:40 +01:00
Showing only changes of commit 37910018b9 - Show all commits

View File

@ -138,4 +138,6 @@ class PrivRV32I(RV32I):
def parse_mem_ins(self, ins: 'LoadedInstruction') -> Tuple[str, int]:
ASSERT_LEN(ins.args, 3)
return ins.get_reg(1), self.get_reg_content(ins, 0) + ins.get_imm(2)
addr = self.get_reg_content(ins, 1) + ins.get_imm(2)
reg = ins.get_reg(0)
return reg, addr