Commit 39524770 authored by pbrook's avatar pbrook
Browse files

Fix "blx lr" (Lauro Venancio).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2979 c046a42c-6fe2-441c-8c8c-71466251a162
parent 2f2ecb83
...@@ -2325,9 +2325,9 @@ static void disas_arm_insn(CPUState * env, DisasContext *s) ...@@ -2325,9 +2325,9 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
/* branch link/exchange thumb (blx) */ /* branch link/exchange thumb (blx) */
val = (uint32_t)s->pc; val = (uint32_t)s->pc;
gen_op_movl_T0_im(val); gen_op_movl_T1_im(val);
gen_movl_reg_T0(s, 14);
gen_movl_T0_reg(s, rm); gen_movl_T0_reg(s, rm);
gen_movl_reg_T1(s, 14);
gen_bx(s); gen_bx(s);
break; break;
case 0x5: /* saturating add/subtract */ case 0x5: /* saturating add/subtract */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment