> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux
 00:36:26  up 1 day  4:04,  2 users,  load average: 0.20, 0.25, 0.20
This commit is contained in:
tracer-ysyx 2024-03-06 00:36:26 +08:00 committed by xinyangli
parent c71b7bdb69
commit ce399c14d9

View file

@ -53,7 +53,7 @@ static void decode_operand(Decode *s, int *rd, word_t *src1, word_t *src2, word_
static void do_branch(Decode *s, bool condition, word_t offset) {
if (condition) {
printf("offset: %u %d", offset, offset);
printf("offset: %x %d\n", offset, offset);
s->dnpc = s->pc + offset;
}
}