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