X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ia32rtools.git;a=blobdiff_plain;f=tools%2Ftranslate.c;fp=tools%2Ftranslate.c;h=7da3b5412ed836b7c97f09ab879042ae8da8c27a;hp=3a35a5df227705bb8e9d276975189b1ec4dd4357;hb=9bbecbfbce7530f47af567605611f091f2bd84ad;hpb=193c11bf19ed55fc1af7a849383ad6912f08ad0a diff --git a/tools/translate.c b/tools/translate.c index 3a35a5d..7da3b54 100644 --- a/tools/translate.c +++ b/tools/translate.c @@ -3942,8 +3942,10 @@ static void resolve_branches_parse_calls(int opcnt) && IS(po->operand[0].name, g_labels[l])) { if (l == i + 1 && po->op == OP_JMP) { - // yet another alignment type.. - po->flags |= OPF_RMD|OPF_DONE; + // yet another alignment type... + po->flags |= OPF_RMD | OPF_DONE; + po->flags &= ~OPF_JMP; + po->op = OP_NOP; break; } add_label_ref(&g_label_refs[l], i);