This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Glitches in gas/objdump handling of i386 STR, SLDT, SMSW instructions


On Sun, Nov 11, 2001 at 04:49:20PM -0800, Zack Weinberg wrote:
> 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 haven't looked at it yet.

> 
> 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.

The current Intel ia32 manual shows str and sldt are different. Don't
ask me why :-). sldt takes 16bit/32bit reg/mem.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]