AnsweredAssumed Answered

In what order are registers pushed into the stack after the exception occurs?

Question asked by Muzahir Hussain on Nov 21, 2017
Latest reply on Nov 21, 2017 by Clive One

In Cortex M3, what is the order in which the register are pushed into the stack?

Which of the following orders are correct (if any)?

First Order:

      PC

      PSRx

      R3

      R2

      R1

      R0

      R12

      Link Register

 

Second Order:

      PC

      PSRx

      R0

      R1

      R2

      R3

      R12

      Link Register

 

Please Guide? Thanks in advance?

Outcomes