> 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:42:36 up 3 days 21:43, 2 users, load average: 0.65, 0.87, 0.92
This commit is contained in:
parent
656ddd2dfd
commit
2c1747eaab
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ static int cmd_x(char *args) {
|
||||||
for (paddr_t paddr = addr; paddr < addr + n;
|
for (paddr_t paddr = addr; paddr < addr + n;
|
||||||
paddr += WORD_BYTES) {
|
paddr += WORD_BYTES) {
|
||||||
word_t value = paddr_read(addr, WORD_BYTES);
|
word_t value = paddr_read(addr, WORD_BYTES);
|
||||||
printf("\e[1;34m" FMT_PADDR "\e[0m" "\t" FMT_WORD "\n", paddr, value);
|
printf("\e[1;34m" FMT_PADDR "\e[0m" " " FMT_WORD "\n", paddr, value);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue