ol = insn->operands;
opcode = opbase;
- cond = ol->oper[0]->u.raw;
+ cond = ol->oper[0]->u.imm->imm;
if (cond & ~0xFF)
asm_error(ctx, "External jump condition value too big (> 0xFF)");
opcode |= cond;
int err, res = 1;
err = parse_args(argc, argv);
- if (err)
+ if (err < 0)
+ goto out;
+ if (err > 0) {
+ res = 0;
goto out;
+ }
err = open_input_file();
if (err)
goto out;