better printing
This commit is contained in:
parent
980070b204
commit
21c85d0bec
@ -743,11 +743,11 @@ static void cpu_print_instruction(instruction_t* instruction)
|
||||
{
|
||||
case FUNC3_BEQ:
|
||||
// Branch EQual
|
||||
printf("beq x%u, x%u, 0x%x\n", instruction->rs1, instruction->rs2, immediate);
|
||||
printf("beq x%u, x%u, %d\n", instruction->rs1, instruction->rs2, immediate);
|
||||
break;
|
||||
case FUNC3_BNE:
|
||||
// Branch Not Equal
|
||||
printf("bne x%u, x%u, 0x%x\n", instruction->rs1, instruction->rs2, immediate);
|
||||
printf("bne x%u, x%u, %d\n", instruction->rs1, instruction->rs2, immediate);
|
||||
break;
|
||||
case FUNC3_BLT:
|
||||
// Branch Less Than
|
||||
|
Loading…
Reference in New Issue
Block a user