From: kub Date: Wed, 7 Apr 2021 20:34:03 +0000 (+0200) Subject: 68k, fix unpredictable instruction in ARM asm X-Git-Tag: v2.00~559 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6375e627758ef60a5ac8f16d2a9ee8e85001ca39;p=picodrive.git 68k, fix unpredictable instruction in ARM asm --- diff --git a/pico/m68kif_cyclone.s b/pico/m68kif_cyclone.s index ec3087e5..6f2a9bcc 100644 --- a/pico/m68kif_cyclone.s +++ b/pico/m68kif_cyclone.s @@ -81,9 +81,9 @@ cyclone_fetch32: ldr r1, [r1, r2, lsl #2] bic r0, r0, #1 movs r1, r1, lsl #1 - ldrcch r0, [r1, r0]! + ldrcch r2, [r1, r0]! ldrcch r1, [r1, #2] - orrcc r0, r1, r0, lsl #16 + orrcc r0, r1, r2, lsl #16 bxcc lr stmfd sp!,{r0,r1,r2,lr}