> 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:
tracer-ysyx 2024-01-11 22:42:22 +08:00 committed by xinyangli
parent 2efa6cd15e
commit df71a7b030

View file

@ -192,7 +192,7 @@ static int cmd_x(char *args) {
for (paddr_t paddr = addr; paddr < addr + n;
paddr += 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;