Re: good disassembler for mixed 16bit and 32bit code?



"junkoi" <spamtrap@xxxxxxxxxx> wrote in message
news:4b84e752-f698-4555-a9de-5794d02fe139@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am wring some code that mix 16bit and 32bit code in asm and C. To
fight some bugs I am having, I need to diassemble the code.
Unfortunately I found that objdump is horrible: it very often produces
bad disassembly that is very different from the source, so I cannot
understand where the problem is.


It's likely that objdump is 32-bit only...

I use objdump with option "-S -d". So could anybody tell if if there
is a way to have objdump worked better?

Or: Is there a more reliable disassembler than objdump for what I am
doing?


I was using NDISASM (comes with NASM assembler) to check your code the other
day. It uses a very different syntax from GNU AS. I also use two other
disassemblers rarely: WDIS (Watcom's disassembler - TASM style syntax) and
objdump...

Sorry...


Rod Pemberton

.



Relevant Pages

  • Re: ELF32 Disassembler
    ... > Is there an disassembler for elf32 binaries which produces code that can ... because objdump gives the wrong form of output. ... And they *do* support Linux these days (the disassembler even ... But tweaking the output of IDAPro to produce NASM or FASM ...
    (alt.lang.asm)
  • Re: Want to write a disassembler...
    ... The best way to write a dissassembler would be to look at objdump ... which is apart of the unix tools. ... I want to write a disassembler for the x86 architecture and I was ...
    (alt.lang.asm)
  • powerpc atomic operation
    ... after objdump the object file, I was confused by the disassembler ... static int atomic_lock ... and value of *lock is stored into r0. ...
    (comp.os.linux.powerpc)