Fix *mull, *mlal instructions in disassembler

This commit is contained in:
Jeffrey Pfau 2014-07-23 23:12:54 -07:00
parent 5477c891c5
commit cbb522a702
1 changed files with 4 additions and 0 deletions

View File

@ -332,6 +332,10 @@ int ARMDisassemble(struct ARMInstructionInfo* info, uint32_t pc, char* buffer, i
written = _decodeRegister(info->op3.reg, buffer, blen);
ADVANCE(written);
}
if (info->operandFormat & ARM_OPERAND_4) {
strncpy(buffer, ", ", blen - 1);
ADVANCE(2);
}
if (info->operandFormat & ARM_OPERAND_IMMEDIATE_4) {
written = snprintf(buffer, blen - 1, "#%i", info->op4.immediate);
ADVANCE(written);