This is the mail archive of the gcc-help@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]

More than 10 operands in asm


Hi,

(gcc 2.95 on x86)

how can I use more than 10 operands in asm?
Imagin something like that:

  __asm__ __volatile__(
          "int $30\n\t"
          :
          "=a" (outEAX),
          "=b" (outEBX),
          "=c" (outECX),
          "=d" (outEDX),
          "=S" (outESI),
          "=D" (outEDI),
          :
          "a" (inEAX),
          "b" (inEBX),
          "c" (inECX),
          "d" (inEDX),
          "S" (inESI),
          "D" (inEDI)
          :
          );

How can I do this? I don't want to introduce memory references.

Frank
--
Frank Mehnert
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## E-Mail: fm3@os.inf.tu-dresden.de    http://os.inf.tu-dresden.de/~fm3 ##
-- 
Frank Mehnert
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## E-Mail: fm3@os.inf.tu-dresden.de    http://os.inf.tu-dresden.de/~fm3 ##


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