> 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:44:49 up 4:45, 2 users, load average: 0.41, 0.21, 0.15
This commit is contained in:
parent
ce843e6adb
commit
64cf984f5f
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ expression
|
|||
}
|
||||
| '-' number { $$ = -$2; }
|
||||
| '*' expression {
|
||||
printf("deref: %u", $2);
|
||||
// $$ = vaddr_read($2, WORD_BYTES * 8);
|
||||
printf("deref: %u\n", $2);
|
||||
// $$ = vaddr_read($2, WORD_BYTES);
|
||||
}
|
||||
| '(' expression ')' { $$ = $2; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue