GPR reading

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPR reading

451 次查看
abdelrhman
Contributor III

Hi all,
I just followed that link to access core registers and it works fine.
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-the-Machine-State-Register-... 
But now I need to read R1 general purpose register, what is the instruction that can be used to read that register instead of  "mfmsr %0" : "=r" (mfmsrValue ) which is used to access the MSR register.
Thank you

0 项奖励
回复
1 回复

440 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have moved your post to MDBT community. They can give you accurate answer.

You can also find instruction set in core reference manual for your core to see which instructions are desired to move from GPRx registers.

Best regards,

Peter

0 项奖励
回复