h2005422@xxxxxxxxxxxxxxxxx writes: > I am working on Generational Grabge collector for c language.And i want to > determine the stack high pointer.Kindly tell the way to get this. If you're really going to do a generational collector, getting the stack pointer is going to be the least of your worries. For example, how are you going to handle write barriers? Anyway, Have a look at Section 5.41, _Getting the Return or Frame Address of a Function_. Andrew.