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]

gcc inline assembly on x86 platform


hi,

Is it possible to use the register ebp in the input/output register list in gcc's inline assembly (for the x86 platform)? If so, how? If not, why not? I would like to use ebp just like the other general purpose registers, e.g. triggering a software interrupt 0x80 with value in eax:

__asm__ __volatile__("int $0x80"::"a" (value));

thanks for your help!
-- 


"Feel free" â 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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