]> git.proxmox.com Git - qemu.git/commitdiff
thumb BLX insn fix (Paul Brook)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Nov 2005 19:36:29 +0000 (19:36 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 6 Nov 2005 19:36:29 +0000 (19:36 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1607 c046a42c-6fe2-441c-8c8c-71466251a162

target-arm/translate.c

index f954de3f7d7cc5b801345a38582d92673a06ac38..96e7fd2919bc429b63e332fd6bc8dd1345974570 100644 (file)
@@ -2035,7 +2035,7 @@ static void disas_thumb_insn(DisasContext *s)
         gen_movl_reg_T1(s, 14);
         
         val += offset << 1;
-        if (insn & (1 << 11)) {
+        if (insn & (1 << 12)) {
             /* bl */
             gen_jmp(s, val);
         } else {