The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: dsouza123 on June 16, 2005, 07:24:43 PM

Title: dumppe.exe has a fdivp,fdivrp decoding bug
Post by: dsouza123 on June 16, 2005, 07:24:43 PM
There is a bug in dumppe in decoding fdivp and fdivrp it has them swapped.
In QEditor -> Tools -> Dis-assemble EXE file calls DASM.bat which calls dumppe


    .data
    n  dq 12345678901234567
    d  dq 12345

    .code
start:
    finit
    fild  d
    fild  n
    fdivrp st(1),st      ; div d,n  result in st(1), pop st    ; DEF1  dumppe=fdivp, Ollydbg=fdivrp

    fild  n
    fild  d
    fdivp st(1),st      ; div n,d  result in st(1), pop st     ; DEF9  dumppe=fdivrp, Ollydbg=fdivp
Title: Re: dumppe.exe has a fdivp,fdivrp decoding bug
Post by: hutch-- on June 17, 2005, 12:53:13 AM
You could try Clive's site for a later one he had posted as its probably a simple value flip flop while it was being built.
Title: Re: dumppe.exe has a fdivp,fdivrp decoding bug
Post by: dsouza123 on June 17, 2005, 03:41:39 AM
Thanks Hutch,

That solved it, in the current version 2.20, the decodings are correct.
Also now it displays values from the data section at the end of the listing.