arm: CC_AL is the default code condition for instructions without CC. bug reported by Daniel Colascione

v2
Nguyen Anh Quynh 11 years ago
parent 997d7bd3bc
commit 48b6cb4ce5
  1. 6
      arch/ARM/ARMInstPrinter.c

@ -264,6 +264,12 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)
}
}
}
// instruction should not have invalid CC
if (insn->detail->arm.cc == ARM_CC_INVALID) {
insn->detail->arm.cc = ARM_CC_AL;
}
}
void ARM_printInst(MCInst *MI, SStream *O, void *Info)

Loading…
Cancel
Save