> 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:
tracer-ics2023
2024-08-31 21:56:09 +08:00
committed by zzy
parent 5fb6d3f40e
commit fdddf26524

View File

@ -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");
}