> 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:08 up 1 day 4:04, 2 users, load average: 0.17, 0.25, 0.20
This commit is contained in:
parent
2148f492f5
commit
c71b7bdb69
1 changed files with 1 additions and 1 deletions
|
@ -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: %d", offset);
|
||||
printf("offset: %u %d", offset, offset);
|
||||
s->dnpc = s->pc + offset;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue