Hello,
can anyone tell me how arrays (maps) are stored in linear memory? In row-major order or in column-major order? I use the CodeWarrior Development Studio for DSC56800/E Version 8.3 and the MC56F8367VVFE and the Compiler should be Metrowerks M56800E C Compiler. I've problems with calibrating maps. In the A2L-File is column-major order stated. How does it depends on? The µC or compiler...
Thank you very much!
Solved! Go to Solution.
For the storing of array, the DSC compiler in CodeWarrior v8.3 saves it in row-major order. Please see the screenshot as below for array allocation in memory.
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
For the storing of array, the DSC compiler in CodeWarrior v8.3 saves it in row-major order. Please see the screenshot as below for array allocation in memory.
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------