i386 misassembly?

Eric Christopher echristo@apple.com
Tue Nov 1 17:34:00 GMT 2005


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



More information about the Binutils mailing list