Rod Pemberton wrote:
> "junkoi" <spamtrap@[EMAIL PROTECTED]
> wrote in message
>
news:4b84e752-f698-4555-a9de-5794d02fe139@[EMAIL PROTECTED]
>
>>I am wring some code that mix 16bit and 32bit code in asm and C.
....
> 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.
Ndisasm won't do mixed 16- and 32-bit code in one gulp. You'd have to
disassemble once with "-b 16" and once with "-b 32", and cut-and-paste
the two together. Might need other command line switches to set an
origin, a synch point, and/or to skip sections to make it pretty. Not
very convenient, but it should do the job, if you can't find anything
better...
Best,
Frank


|