Fix *mull, *mlal instructions in disassembler
Jeffrey Pfau jeffrey@endrift.com
Wed, 23 Jul 2014 23:12:54 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/arm/decoder.c
→
src/arm/decoder.c
@@ -332,6 +332,10 @@ } else if (info->operandFormat & ARM_OPERAND_REGISTER_3) {
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);