Re: gcc inline assembly

2007-10-15 Thread Ian Lance Taylor
polina <[EMAIL PROTECTED]> writes: > I would like to use the asm feature of the gcc compiler. I am not sure what > backends the asm supports. Would it support any backend for which it was > compiled? The reason I asked is because I cross-compiled gcc for the PISA > architecture and I haven't been

gcc inline assembly

2007-10-15 Thread polina
using asm to do inline PISA assembly. I would appreciate any information. Thank you. - Polina -- View this message in context: http://www.nabble.com/gcc-inline-assembly-tf4631623.html#a13225744 Sent from the gcc - Dev mailing list archive at Nabble.com.

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__