Mail Archives: djgpp/1999/05/15/16:49:07
Chuming wrote:
> Hi there, can anyone help me with the following problems:
>
> 1) when using extended inline asm in djgpp, is the input registers field
> limited
> to only 10 operands. Is there any way to get around the problem?
>
eh... supose you have:
static long a1,a2;
then you say:
__asm__("
mov 4+%0,%%eax
"
:
:"g"(a1));
and you get mov a2,%%eax
all you got to do is to declare in the parameter list one of the arguments
and know the relative adress of the others...
- Raw text -