This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: Can't access banked register using msr or mrs

Genius 13655 points

Part Number: AM2434

Hello Champs,

As can be seen from the architecture manual of armv7 r, as shown in the figure, for banked registers, it can be accessed via MRS and MSR. Now customer writes to access sp_usr, lr_usr, sp, lr, The statements of cpsr, spsr, spsr_svc, as shown in the figure, show that sp_usr cannot be operated with either MRS or mov. lr_usr and Spsr_svc, so how to access the banked register? How to compile? What does the compiler set? 


Thanks
Regards
Shine