Commit 2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225

Authored by bellard
1 parent 3dbbdc25

thumb BLX insn fix (Paul Brook)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1607 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-arm/translate.c
@@ -2035,7 +2035,7 @@ static void disas_thumb_insn(DisasContext *s) @@ -2035,7 +2035,7 @@ static void disas_thumb_insn(DisasContext *s)
2035 gen_movl_reg_T1(s, 14); 2035 gen_movl_reg_T1(s, 14);
2036 2036
2037 val += offset << 1; 2037 val += offset << 1;
2038 - if (insn & (1 << 11)) { 2038 + if (insn & (1 << 12)) {
2039 /* bl */ 2039 /* bl */
2040 gen_jmp(s, val); 2040 gen_jmp(s, val);
2041 } else { 2041 } else {