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

H . J . Lu hjl@lucon.org
Thu Nov 1 12:54:00 GMT 2001


On Mon, Nov 12, 2001 at 03:35:33PM +1030, Alan Modra wrote:
> On Sun, Nov 11, 2001 at 08:45:43PM -0800, H . J . Lu wrote:
> > On Mon, Nov 12, 2001 at 12:26:43PM +1030, Alan Modra wrote:
> > > 
> > > {"str",	   1, 0x0f00, 1, Cpu286, wlq_Suf|Modrm,		{ WordReg|InvMem, 0, 0} },
> > 								  ^^^^^^^
> > 
> > That means 64bit registers allowed. Shouldn't that be Reg16|Reg32?
> 
> >From my admittedly fairly old x86-64 doco, 64 bit regs are allowed on
> sldt, smsw and str.

I see it is for AMD, not Intel.


H.J.



More information about the Binutils mailing list