aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-arm/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 246839d1f3..3ce93f89b1 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -2325,9 +2325,9 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
/* branch link/exchange thumb (blx) */
val = (uint32_t)s->pc;
- gen_op_movl_T0_im(val);
- gen_movl_reg_T0(s, 14);
+ gen_op_movl_T1_im(val);
gen_movl_T0_reg(s, rm);
+ gen_movl_reg_T1(s, 14);
gen_bx(s);
break;
case 0x5: /* saturating add/subtract */