From 2cbccf921bf84665c55cea67b81f31c66dde4249 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 8 Dec 2022 19:30:32 -0600 Subject: Fix decoding of msr with immediate operand --- tb/sim/modeswitch.S | 1 + 1 file changed, 1 insertion(+) (limited to 'tb/sim') diff --git a/tb/sim/modeswitch.S b/tb/sim/modeswitch.S index 52908de..384eb65 100644 --- a/tb/sim/modeswitch.S +++ b/tb/sim/modeswitch.S @@ -1,6 +1,7 @@ .global reset reset: mov r6, lr + msr cpsr_c, #0xd3 mrs r0, cpsr udf mrs r2, cpsr -- cgit v1.2.3