diff --git a/librz/arch/p/asm/asm_msp430.c b/librz/arch/p/asm/asm_msp430.c index 43ea2b12140..0724d125ada 100644 --- a/librz/arch/p/asm/asm_msp430.c +++ b/librz/arch/p/asm/asm_msp430.c @@ -21,13 +21,7 @@ static int disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) { } else { rz_asm_op_set_asm(op, cmd.instr); } - char *buf_asm = rz_strbuf_get(&op->buf_asm); - if (a->syntax != RZ_ASM_SYNTAX_ATT) { - rz_str_replace_ch(buf_asm, '#', 0, 1); - // rz_str_replace_ch (buf_asm, "$", "$$", 1); - rz_str_replace_ch(buf_asm, '&', 0, 1); - rz_str_replace_ch(buf_asm, '%', 0, 1); - } + fail: return op->size = ret; } diff --git a/test/db/analysis/msp430 b/test/db/analysis/msp430 index 6644d653af6..09b6216cc16 100644 --- a/test/db/analysis/msp430 +++ b/test/db/analysis/msp430 @@ -8,24 +8,24 @@ echo afi EOF EXPECT=<