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
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