Hello,
I need to be sure that a register won't be used during register allocation in GCC because I need it for some assembly level checks. Does anybody know what kind of directive I have to put in codewarrior?
Thank you.
Solved! Go to Solution.
Hi Stefano,
You're using CW for MCU v10.6 for MPC56XX.
Now If I understand correctly you request, you want to reserve a register.
I've found a note explaining how to do that in the \CW MCU v10.6.4\MCU\Help\PDF\MCU_Power-Architecture_Compiler.pdf manual.
Please have a look pages 258 - 261
14.2 Additional Small Data Sections
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Stefano,
Can you please let me know what is the development tool chain you're using and the Processor ?
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I'm using the deafult GNU toolchain on codewarrior for the MPC5643L.
Hi Stefano,
You're using CW for MCU v10.6 for MPC56XX.
Now If I understand correctly you request, you want to reserve a register.
I've found a note explaining how to do that in the \CW MCU v10.6.4\MCU\Help\PDF\MCU_Power-Architecture_Compiler.pdf manual.
Please have a look pages 258 - 261
14.2 Additional Small Data Sections
Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------