AnsweredAssumed Answered

How to determine mode from user mode?

Question asked by justinb on Oct 24, 2013

For verification purposes, I find myself wanting to query the processor mode from different states. In all states but user mode, I can just query the IPEND register. How would I determine the processor mode from user mode, in a preferably generic way that would work from any mode?