[decoder] Added mret, sret, uret, wfi instruction decoding support

kernel-mode
Anton Lydike 4 years ago
parent 198d14d5fb
commit 9424390b65

@ -15,6 +15,10 @@ STATIC_INSN: Dict[int, Tuple[str, List[Union[str, int]], int]] = {
0x02010113: ("addi", ["sp", "sp", 32], 0x02010113),
0x00100073: ("ebreak", [], 0x00100073),
0x00000073: ("ecall", [], 0x00000073),
0x30200073: ("mret", [], 0x30200073),
0x00200073: ("uret", [], 0x00200073),
0x10200073: ("sret", [], 0x10200073),
0x10500073: ("wfi", [], 0x10500073),
}

Loading…
Cancel
Save