Hi Gidong
Not sure if I understand you correctly. I guess you want to know the method of allocating code/data to a specific memory address in source code. if yes, the normally used pragma to specify the code and data in C source file:
#pragma CODE_SEG <code section>
#pragma CONST_SEG <const code section>
#pragma DATA_SEG <data section>
here <code section>, <const section> and <data section> are defined in prm file.
You can refer Compiler manual in your Codewarrior install directory. Search key word in this file to learn more.
Have a great day,
Jun Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
--------------------------------------------------------------------------------------------------------------