Hello.
We know that if an ARMv7-M is running in Thread mode using PSP when an exception occurs, registers will normally be pushed onto the PSP stack. However, in the case of late arriving, e.g. if an exception of higher priority happens after r0 has just been pushed onto the PSP stack but before r1 is pushed, what exactly will happen next? I can think of two possibilities. Which is correct?
Thanks.
Now I'm pretty sure that neither is correct. The state pushing should continue on the PSP stack, without being affected by the new exception.