> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 22:09:29 up 4 days, 17:15, 1 user, load average: 0.97, 0.72, 0.59
This commit is contained in:
@ -137,7 +137,7 @@ static int decode_exec(Decode *s) {
|
||||
// INSTPAT("??????? ????? ????? 111 ????? 11100 11", csrrci , I, );
|
||||
|
||||
// INSTPAT("0001000 00010 00000 000 00000 11100 11", sret , R, );
|
||||
INSTPAT("0011000 00010 00000 000 00000 11100 11", mret , R, s->dnpc = C(MEPC));
|
||||
INSTPAT("0011000 00010 00000 000 00000 11100 11", mret , R, s->dnpc = C(MEPC) + 4);
|
||||
|
||||
INSTPAT("??????? ????? ????? ??? ????? ????? ??", inv , N, INV(s->pc));
|
||||
INSTPAT_END();
|
||||
|
Reference in New Issue
Block a user