AnsweredAssumed Answered

Reading PSR

Question asked by de_Vos.Gawie on May 16, 2013
Latest reply on May 16, 2013 by de_Vos.Gawie
Hi

Does anybody have some inline GCC assembly to read the PSR? I am coming from an IAR background and in IAR I just used __get_PSR(), but this is not available in GCC - CrossStudio for Arm from Rowley. 

Any help in reading the PSR from C code in GCC will be helpful. 

Thanks,
Gawie

Outcomes