This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: i386 misassembly?


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


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