Browse code

Correct disassembling of bytecode ICMP_ULT instruction

Jonas Zaddach (jzaddach) authored on 2020/02/13 12:59:47
Showing 1 changed files
... ...
@@ -3360,7 +3360,7 @@ void cli_byteinst_describe(const struct cli_bc_inst *inst, unsigned *bbnum)
3360 3360
             printf("%d = (%d >= %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]);
3361 3361
             break;
3362 3362
         case OP_BC_ICMP_ULT:
3363
-            printf("%d = (%d > %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]);
3363
+            printf("%d = (%d < %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]);
3364 3364
             break;
3365 3365
         case OP_BC_ICMP_ULE:
3366 3366
             printf("%d = (%d >= %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]);