This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Popping registers


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]