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 "+m".
> I do not know the difference between "+" and "=". why?
> Thank you!

Check the info pages for gcc.  = conotes an output-only operand
and + conotes an input and output operand.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to