Problems with LPC2129 IAR Port

I am trying the LPC2129 Port in the C-Spy Simulator. The port does not work. During restoring the context in vPortStartFirstTask the CPU crashes. The link register gets restored with the initial value of 0xAAAAAAAA. The result is a data abort. Could anybody help me?

Problems with LPC2129 IAR Port

This is an easy one.  The simulator has a bug in it.  The kernel is started in supervisor mode and from supervisor mode loads the system mode registers, but the simulator gets this wrong and loads the supervisor mode registers instead – bang, crash. (I might have that the wrong way round, but the principal of the problem is correct).