This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Popping registers
- From: Richard Henderson <rth at redhat dot com>
- To: Sam Lauber <sam124 at operamail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 20 Dec 2004 16:52:09 -0800
- Subject: Re: Popping registers
- References: <20041220202345.0A5D223CF6@ws5-3.us4.outblaze.com>
On Mon, Dec 20, 2004 at 09:23:44PM +0100, Sam Lauber wrote:
> I was wondering, how do you pop a register (like EAX) into a C variable?
You don't. Messing with the stack like that behind the compiler's
back is strictly verboten.
r~