Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 1996 23:49:38 +0200 (MET DST)
From:      Thomas Sparrevohn <staff@kyklopen.ping.dk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: movsbw question
Message-ID:  <Pine.BSI.3.95.960901234406.5625A-100000@kyklopen>
In-Reply-To: <199609011522.BAA10132@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Sep 1996, Bruce Evans wrote:

> Neither :-).  It takes a r/m8 operand and converts it to a r16 result.
> An Intel assembler book would spell the instruction movsx.
> 

It was the movsx instruction it I was interessted in. The pgcc emits
an instruction sequence that breaks our gas and i was wondering wether
it was the FreeBSD gas that was wrong.


> The FreeBSD version of gas doesn't really understand this instruction.
> It generates a superfluous second operand size override for
> 
> 	movsbw	%al,%bx
> 
> It emits bytes 0x66, 0x66, 0x0f, 0xbe, 0xd8.  This is fixed in
> 
> 	GNU assembler version 2.6 (i486-linux), using BFD version 2.6.0.2
> 

I take a look at it. Thank you.


--Thomas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.960901234406.5625A-100000>