i386 misassembly?

Alan Modra amodra@bigpond.net.au
Tue Nov 1 07:21:00 GMT 2005
On Mon, Oct 31, 2005 at 10:17:18PM -0800, Eric Christopher wrote:
> 
> On Oct 31, 2005, at 6:36 PM, Alan Modra wrote:
> 
> >On Mon, Oct 31, 2005 at 06:18:09PM -0800, Eric Christopher wrote:
> >>00000000 <.text>:
> >>   0:   de f1                   fdivp  %st,%st(1)
> >>
> >>I was reading the manual (vol 2a) and it looks like this is supposed
> >>to assemble as de f9,
> >>am I nuts or reading something wrong?
> >
> >See the comment at the start of include/opcode/i386.h.  gcc is  
> >nuts.  :)
> 
> Gar.
> 
> Ooookay. So, what does this mean to the processor? I mean, the
> assembly is kinda wrong yes?

All the processor cares about is the 0xDEF1, which is "Divide ST(0) by
ST(1), store result in ST(1), and pop the register stack."

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list