> 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:43:13 up 3 days 21:43, 2 users, load average: 0.46, 0.80, 0.89
This commit is contained in:
parent
991cc19536
commit
26df7f1440
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ static int cmd_x(char *args) {
|
|||
word_t addr = parse_expr(arg, &res);
|
||||
if (!res)
|
||||
goto wrong_usage;
|
||||
addr = addr & ~0x3;
|
||||
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