gas and prefix's on x86

Alan Modra amodra@bigpond.net.au
Thu Apr 25 20:12:00 GMT 2002


On Thu, Apr 25, 2002 at 11:46:14AM -0700, Andrew Macleod wrote:
> >> 
> >> Andrew Macleod <amacleod@cygnus.com> writes:
> >> 
> >> > However, we can't issue that from the asm statement in 
> >> > the conmpiler.
> >> 
> >> Can you do
> >>      lock; incw [eax]x;
> 
> No, same results:
> 
> t1.cpp:110: expected instruction opcode

Use "lock/incw [eax]x" on linux, *bsd, i386aix.
"lock\incw [eax]x" on others.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list