how can I get esp value?

Scott J scott.j at myrealbox.com
Fri Dec 6 01:43:48 UTC 2002


Hi, all
	I've a small problem for helping. For I'm not so familiar with AT&T assembly language, how can I get current esp of i386 in a  C-style function ? The function may be:
	
	unsigned32	i386_get_esp( void )
	{
		/* return current esp */
	}
	
	TIA.
	
----
Scott J





More information about the users mailing list