diff options
Diffstat (limited to 'output_asm.c')
-rw-r--r-- | output_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output_asm.c b/output_asm.c index b1ccfc9..fd9f792 100644 --- a/output_asm.c +++ b/output_asm.c @@ -46,7 +46,7 @@ void emit_single_ji_type(FILE *f, struct ji_type inst) { const char *cond = get_asm_from_j(inst.cond); - fprintf(f, "%s %s\n", cond, inst.imm.value); + fprintf(f, "%s 0x%x\n", cond, inst.imm.value); } void emit_single_jr_type(FILE *f, struct jr_type inst) |