diff options
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index f405a232f9..00bdbb98ac 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -543,7 +543,8 @@ static void disas_arm_insn(DisasContext *s) rn = (insn >> 16) & 0xf; rd = (insn >> 12) & 0xf; gen_movl_T1_reg(s, rn); - gen_add_datah_offset(s, insn); + if (insn & (1 << 24)) + gen_add_datah_offset(s, insn); if (insn & (1 << 20)) { /* load */ switch(sh) { |