thanks for the help i was just trying something and it rather appears very strange as i dont see any thing wrong in the code no errors or any indication as to where i am going wrong there is junk value stored in the varaible which just does not seem to go away what could be the problem?
***************** void FlashReadM(volatile unsigned long *fl_ad,unsigned long abb) { unsigned long ulvald; abb=2; ulvald=0; //fl_ad=(volatile unsigned long
*)0x8020; ulvald= *(fl_ad); //return ucVal; }
in the above prg the value of abb is shown as 2 but the value of ulvald does not show 0 it shows a junk value in the debugger memeory window i initialized the value of the ulvald thinking that could initilize the varaiable and then not have this junk value but the junk val just stays put.
any suggestions help extended will be very helpful regards,