diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-08 19:30:32 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-08 19:30:32 -0600 |
| commit | 2cbccf921bf84665c55cea67b81f31c66dde4249 (patch) | |
| tree | 2f8bc64c61f80f7e264846abaccff2a44807a5bf /tb | |
| parent | 357acc5d82a2b04cf846d69826ec89671e78e759 (diff) | |
Fix decoding of msr with immediate operand
Diffstat (limited to 'tb')
| -rw-r--r-- | tb/sim/modeswitch.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
