This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc inline assembly on x86 platform
- From: bluecoder at gmx dot de
- To: gcc at gcc dot gnu dot org
- Date: Sat, 15 Jul 2006 01:23:41 +0200
- Subject: 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