> 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 20:56:49 up 3 days 19:57, 2 users, load average: 0.44, 0.86, 0.76
This commit is contained in:
parent
fc7a46b721
commit
c8a662c9e2
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const char *regs[] = {
|
||||||
void isa_reg_display() {
|
void isa_reg_display() {
|
||||||
int colomn_per_row = 4;
|
int colomn_per_row = 4;
|
||||||
for(int i = 0; i < ARRLEN(regs); i++) {
|
for(int i = 0; i < ARRLEN(regs); i++) {
|
||||||
printf("%3s: %#08x\t", reg_name(i), gpr(i));
|
printf("%3s: %#010x\t", reg_name(i), gpr(i));
|
||||||
if (i % colomn_per_row == 3)
|
if (i % colomn_per_row == 3)
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue