AnsweredAssumed Answered

data in memory after compilation and link

Question asked by Yucheng Zhang on Apr 26, 2007
Latest reply on Apr 30, 2007 by CrasyCat
Enir.: CW4.5 and MC9S12XDP512
#include ...
int i = 5;
void main(...)
Since I am not familar with the Principle of Compiler and Linker, I am wondering, when MCU starts running, will it run a machine code to assign 5 to the memory of i or 5 has already been put into the mory of i after CW debugger loads the program into S12X system.
Thanks a lot for any inputs.