Thread: objdump for dos or windows

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Plano, Texas, United States

    objdump for dos or windows

    I'm in the mood recently to stretch my assembly muscles, and I am trying to find a good, free disassembler for 16-bit DOS executables.'s difficult.

    Really all I want is something as simple as objdump in Linux, where I could something like:

    objdump -d my_binary some_output_file.txt
    Anyone know of anything good to be able to do this?
    My Website

    "Circular logic is good because it is."

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Portland, OR
    ndisasm works reasonably well, though you need to fool with the command line options to get it just right, since it doesn't have the ability to interpret the EXE header. And for multi-segment (medium or large memory model) executables it will most likely get confused.

    I've never tried it, but "dumpbin /disasm foo.exe" might work on 16-bit binaries. dumpbin comes with Visual Studio.

    There used to be this incredibly awesome program for disassembling DOS binaries called "Sourcer," I wonder if it's still around.

    EDIT: Good old "debug.exe" can unassemble 16-bit code as well.
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);

  3. #3
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Why not objdump from a mingw distribution?

  4. #4
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Somewhere nearby,Who Cares?
    i think if you go after nasm you'd be in more luck, as far as i remember it was open source and both 16 and 32bit versions should be out there without that much of effort.

    and here it is ,
    Last edited by Masterx; 02-25-2010 at 08:39 AM.
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM