> 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:22 up 3 days 21:43, 2 users, load average: 0.64, 0.88, 0.92
This commit is contained in:
parent
2efa6cd15e
commit
df71a7b030
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(FMT_PADDR FMT_WORD "\n", paddr, value);
|
printf("\e[1;34m" FMT_PADDR "\e[0m" "\t" FMT_WORD "\n", paddr, value);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue