diff options
author | comex | 2015-01-13 01:13:19 -0500 |
---|---|---|
committer | comex | 2015-01-13 01:16:42 -0500 |
commit | 6e12e61377daad6e9444da718b72a2612fcd2876 (patch) | |
tree | c82b1db95b1a1a55ddf468a5364480e1697198aa /lib | |
parent | small thumb fixes for Rdn and stuff (diff) | |
download | substitute-6e12e61377daad6e9444da718b72a2612fcd2876.tar.gz |
add a test assembly file, not used yet
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dis-arm.inc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dis-arm.inc.h b/lib/dis-arm.inc.h index 88fefb8..68f5015 100644 --- a/lib/dis-arm.inc.h +++ b/lib/dis-arm.inc.h @@ -171,11 +171,14 @@ static INLINE tdis_ret P(unk_Rt_13_MRC)(tdis_ctx ctx, struct bitslice Rt) { } static INLINE tdis_ret P(GPR_Rn_reglist_regs_16_LDMDA)(tdis_ctx ctx, struct bitslice regs, UNUSED struct bitslice Rn) { unsigned regs_val = bs_get(regs, ctx->op); - if(regs_val & (1 << 15)) + if (regs_val & (1 << 15)) return P(ret)(ctx); return P(unidentified)(ctx); } static INLINE tdis_ret P(GPR_Rn_reglist_regs_S_16_STMDA)(tdis_ctx ctx, UNUSED struct bitslice regs, UNUSED struct bitslice Rn) { + unsigned regs_val = bs_get(regs, ctx->op); + if (regs_val & (1 << 15)) + return P(bad)(ctx); return P(unidentified)(ctx); } static INLINE tdis_ret P(GPR_Rt_addr_offset_none_addr_unk_Rd_S_6_STLEX)(tdis_ctx ctx, struct bitslice Rt, struct bitslice Rd, struct bitslice addr) { |