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: banked register用mrs和msr的方式访问不了

Part Number: AM2434


由armv7 r的架构手册可知,如图,针对banked registers可以通过MRS和MSR的方式访问,

现在我写了访问sp_usr、lr_usr、sp、lr、cpsr、spsr、spsr_svc的语句,如图可以看出不管是用MRS还是用mov的方式都操作不了sp_usr、lr_usr以及spsr_svc,所以banked register要怎么访问呢?要怎么样才能编译通过?编译器要设置什么吗?