as/i386 all versions a bit too permissive with ins/outs/lods/stos

Alan Modra amodra@bigpond.net.au
Sat May 18 22:18:00 GMT 2002


On Sat, May 18, 2002 at 02:51:32PM -0700, Richard Henderson wrote:
> That's silly.  Yes, allow the explicit operands for documentation,
> but no do not allow invalid operands.

Of course it's silly, particularly in AT&T mode.  But intel mode
assemblers allow a memory operand like "BYTE PTR buffer", and I've
seen assembly that used exactly that.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list