由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要怎么访问呢?要怎么样才能编译通过?编译器要设置什么吗?
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.
已咨询e2e产品线工程师,请关注下面帖子的回复。
e2e.ti.com/.../am2434-can-t-access-banked-register-using-msr-or-mrs