+2000-05-23 Nick Clifton <nickc@cygnus.com>
+
+ * wrapper.c (sim_store_register): Special handling for CPSR
+ register.
+
2000-03-11 Philip Blundell <philb@gnu.org>
* armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
int length ATTRIBUTE_UNUSED;
{
init ();
- ARMul_SetReg (state, state->Mode, rn, frommem (state, memory));
+ if (rn == 25)
+ {
+ state->Cpsr = frommem (state, memory);
+ ARMul_CPSRAltered (state);
+ }
+ else
+ ARMul_SetReg (state, state->Mode, rn, frommem (state, memory));
return -1;
}