This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Popping registers
- From: "Sam Lauber" <sam124 at operamail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 20 Dec 2004 21:23:44 +0100
- Subject: Popping registers
I was wondering, how do you pop a register (like EAX) into a C variable? Ideally, it would be
void *data = asm("pop (%eax)");
but that gave me a syntax error.
Samuel Lauber
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.
Powered by Outblaze