News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

dumppe.exe has a fdivp,fdivrp decoding bug

Started by dsouza123, June 16, 2005, 07:24:43 PM

Previous topic - Next topic

dsouza123

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

hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dsouza123

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.