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.
Hi,does anybody know how I can write an embedded ASM function that returns the actual PSR value? I prefered to go on like this:int getCpsr( void ){ int currentCPSR; MRS currentCPSR, CPSR return currentCPSR;}how can I return a value within embedded assembler?
Thanks,but this is also ARM machine language instruction. I cannot use this inline assembler__asm".....