GPR reading

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPR reading

533件の閲覧回数
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 返信

522件の閲覧回数
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 件の賞賛
返信