Hi, I am simulating my code using the uVision v2.33. When I am exiting a function i get the following error: error 65: Access violation at address 0x00BA0180. and the simulator jumps to disassembly window. I have read the forum and the doc abt access violation errors but am not able to understand why I am getting the error on exiting a function? I am searching for an answer in the C166 manuals and the ST10f269 manual. But am directionless right now. If anyone is familiar or knows the problem area, please share it with me. Regards Deepak