This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Glitches in gas/objdump handling of i386 STR, SLDT, SMSW instructions
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Glitches in gas/objdump handling of i386 STR, SLDT, SMSW instructions
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 11 Nov 2001 16:49:20 -0800
- Cc: binutils at sources dot redhat dot com
- References: <20011111161911.A2608@codesourcery.com> <20011111163129.A1886@lucon.org>
On Sun, Nov 11, 2001 at 04:31:29PM -0800, H . J . Lu wrote:
> > +{"str", 1, 0x0f00, 1, Cpu286, wlq_Suf|Modrm, { WordReg|WordMem, 0, 0} },
>
> I don't think it is right. "str" takes a 16bit reg/mem or 32bit reg,
> according to Intel ia32 manual.
What is the proper way to indicate that in this table?
I made it match the entry for sldt, which has the exact same
description in the ia32 manual as str (with regard to operands), so if
this is wrong, that one is wrong too.
zw