• Home
  • QUESTIONS & ANSWERS
  • Integrated Circuits (ICs)
  • What is the relationship between CPSR and SPSR?

    * Question

    What is the relationship between CPSR and SPSR?


    *
    Answer

    When a specific abnormal interrupt occurs, the current value of the CPSR is saved to the SPSR in the corresponding abnormal mode, and then the CPSR is set to the corresponding abnormal mode; when exiting from the abnormal interrupt program, the value saved in the SPSR can be restored.CPSR.


    COMMENTS

    WORDPRESS: 0
    DISQUS: 0