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 Oct 31, 2005, at 11:21 PM, Alan Modra wrote:


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?


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

But shouldn't it be assembling as de f9 instead of de f1? I thought fdivrp was
de f1?


-eric


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