On 06-Dec-2002 kai ouyang wrote:
> Hi,everybody,
>
> I have one question about GNU ASM syntax.
> As I know:
> __asm __volatile(
>"instructions"
>:output
>:input
>:exception);
> In Linux, the restriction of output are "=m","=a", etc.
> But I found in FreeBSD, there are "=m" and
"kai ouyang" wrote:
> >I do not know the difference between "+" and "=". why?
> Thank you, I got it from 'info gcc'.
> It is the reason that "Extended asm supports input-output or read-write
> operands. Use the constraint character `+' to indicate such an operand
> and list it with the output opera
I do not know the difference between "+" and "=". why?
Thank you, I got it from 'info gcc'.
It is the reason that "Extended asm supports input-output or read-write
operands. Use the constraint character `+' to indicate such an operand
and list it with the output operands.".
Best Regards
Ouyang K
Hi,everybody,
I have one question about GNU ASM syntax.
As I know:
__asm __volatile(
"instructions"
:output
:input
:exception);
In Linux, the restriction of output are "=m","=a", etc.
But I found in FreeBSD, there are "=m" and "+m".
I do not know the difference between "+" and "=". why?
4 matches
Mail list logo