> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 21:57:22  up  22:13,  2 users,  load average: 0.25, 0.43, 0.61
This commit is contained in:
tracer-ysyx 2024-01-12 21:57:22 +08:00 committed by xinyangli
parent a1953d329b
commit 527cca1e9b

View file

@ -191,6 +191,7 @@ static int cmd_x(char *args) {
word_t n = parse_uint(arg, &res); word_t n = parse_uint(arg, &res);
if (!res) if (!res)
goto wrong_usage; goto wrong_usage;
printf("%u", n);
arg = strtok(NULL, " "); arg = strtok(NULL, " ");
word_t addr = parse_expr(arg, &res); word_t addr = parse_expr(arg, &res);
if (!res) if (!res)