Popping registers

Richard Henderson rth@redhat.com
Tue Dec 21 00:52:00 GMT 2004


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~



More information about the Gcc mailing list