1) Is there any method of determining whether the stack space allocated is enough for the program execution. 2) Is there any feature in UVision 2 to determing the code size generated by the hex file. Mohit