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


What is a stack? What does the compiler use it for? Why would messing with it be a bad idea? And no, I do not know assembly, and I haven't had computer science class yet.

Samuel Lauber

>> 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~
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


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