Re: gcc inline assembly on x86 platform

2006-07-14 Thread Mike Stump
On Jul 14, 2006, at 4:23 PM, [EMAIL PROTECTED] wrote: Is it possible to use the register ebp in the input/output register list Wrong list. Also, for trivial questions like this, ask the compiler, it will tell you.

gcc inline assembly on x86 platform

2006-07-14 Thread bluecoder
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__