> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux 22:41:56 up 4:43, 2 users, load average: 0.03, 0.08, 0.11
This commit is contained in:
parent
91ad6d4335
commit
3a0268ca34
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ expression
|
|||
$$ = $1 / $3;
|
||||
}
|
||||
| '-' number { $$ = -$2; }
|
||||
| '*' expression { printf("deref: %u\n", $2); }
|
||||
| '*' expression { $$ = vaddr_read($2, WORD_BYTES * 8); }
|
||||
| '(' expression ')' { $$ = $2; }
|
||||
|
||||
number
|
||||
|
|
Loading…
Reference in a new issue