Dear voxan
i am really impressed with your response.i have some queries....Do u get values of k and array m as correct mean "18". when i simulate the code for two or three iteraration i get corect value(18) after i got zeros and something...do u try it through serial port?
In our company our systems don't have internet....and no drives etc...we cannot copy or anything from our system to net systems..even it is not proprietary code so i am helpless in that matter...
one thing when i get correct values when declaration and intitialisation in main only(local),if one of declaration and intialisation is global then values are in correct..
when i am assigning address for k and m i am getting correct
here is sample:
unsigned char m[6] : 0x40008000;
unsigned char k : 0x40008100;
that means if i am leaving the same(address alocation) for compiler it is behaving differently am i right?
and i am on the way to modify project given by you..
anyway thanks for youe response..
regards,
venki
Message Edited by power pc on
2007-07-17 05:41 AMMessage Edited by power pc on
2007-07-17 05:44 AMMessage Edited by power pc on
2007-07-17 05:49 AM