We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello Community,
Recently I was going through some code and has this doubt.
My Pseudocode
============
CPSID I - Disable interrupts
Do critical work
CPSIE I - Enable interrupts
Do non critical work.
After I enabled interrupts and if there is pending interrupt , Does the exception handler will execute right after CPSIE I instruction ? What happens to the instructions that are already there in pipeline ? I am looking for CM0/CM0+ behavior.
Regards.
Vijay.
a.surati - Thanks for sharing your knowledge. Your guess seems to be acceptable answer to the question.