Popping registers

Sam Lauber sam124@operamail.com
Mon Dec 20 20:23:00 GMT 2004


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



More information about the Gcc mailing list