This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
More than 10 operands in asm
- To: help-gcc at gnu dot org
- Subject: More than 10 operands in asm
- From: fm3 at os dot inf dot tu-dresden dot de (Frank Mehnert)
- Date: 30 Nov 1999 19:01:43 +0100
- Newsgroups: gnu.gcc.help
- Organization: Dept. of Computer Science, TU Dresden, Germany
- Xref: wodc7nx0 gnu.gcc.help:2015
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 ##