From 6375e627758ef60a5ac8f16d2a9ee8e85001ca39 Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 7 Apr 2021 22:34:03 +0200 Subject: [PATCH] 68k, fix unpredictable instruction in ARM asm --- pico/m68kif_cyclone.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.39.5