> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 23:37:50 up 2 days 12:32, 2 users, load average: 0.24, 0.32, 0.35
This commit is contained in:
parent
3ec0c3a635
commit
70829c8d56
1 changed files with 2 additions and 1 deletions
|
@ -42,9 +42,10 @@ word_t isa_reg_str2val(const char *s, bool *success) {
|
|||
;
|
||||
|
||||
if (i == 32) {
|
||||
success = false;
|
||||
*success = false;
|
||||
return 0;
|
||||
}
|
||||
*success = true;
|
||||
|
||||
return gpr(i);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue