sdc-g commented on PR #15985:
URL: https://github.com/apache/nuttx/pull/15985#issuecomment-2735591257

   Hi @chirping78 
   
   Not sure below one is correct answer, but PS is saved into EPS[N] before 
PS.EXCM set to 1
   
   ```
   function takeinterrupt(level)
   EPC[level] ← PC
   EPS[level] ← PS
   PC ← InterruptVector[level]
   PS.INTLEVEL ← level
   PS.EXCM ← 1
   endfunction takeinterrupt
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to