> 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 22:40:36 up 3 days 21:41, 2 users, load average: 0.95, 1.01, 0.97
This commit is contained in:
parent
efa7de48cc
commit
04ab911f43
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ static int cmd_x(char *args) {
|
|||
word_t addr = parse_expr(arg, &res);
|
||||
if (!res)
|
||||
goto wrong_usage;
|
||||
printf("%d, %d\n", addr, WORD_BYTES);
|
||||
printf("%u, %d\n", addr, WORD_BYTES);
|
||||
for (paddr_t paddr = addr; paddr < addr + n;
|
||||
paddr += WORD_BYTES) {
|
||||
word_t value = paddr_read(addr, WORD_BYTES);
|
||||
|
|
Loading…
Reference in a new issue