> 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 21:56:09 up 20:46, 1 user, load average: 0.32, 0.24, 0.20
This commit is contained in:
@ -115,7 +115,7 @@ static int cmd_p(char *args) {
|
||||
bool success = false;
|
||||
word_t res = expr(args, &success);
|
||||
if (success) {
|
||||
printf("$res = % "PRIdLEAST32"\n", res);
|
||||
printf("$res = %"PRId32", %"PRIu32", %"PRIx32"\n", res, res, res);
|
||||
} else {
|
||||
printf("Invalid expression\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user