Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: good disass...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 4597 of 4729
Post > Topic >>

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

by junkoi <spamtrap@[EMAIL PROTECTED] > Apr 2, 2008 at 10:32 PM

On Apr 1, 3:25 am, Frank Kotler  <spamt...@[EMAIL PROTECTED]
> wrote:
> Rod Pemberton wrote:
> > "junkoi" <spamt...@[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...
>

OK, never mind. I found the trick to diassemble 16bit code with
objdump: just use the option "-m i8086". the result is beautiful!!!

i think objdump is a better choice than ndisasm in case you want to
cor****ate the souce code (C) into the output.

Thanks,
J
 




 4 Posts in Topic:
good disassembler for mixed 16bit and 32bit code?
junkoi <spamtrap@[EMA  2008-03-30 20:15:10 
Re: good disassembler for mixed 16bit and 32bit code?
"Rod Pemberton"  2008-03-31 05:31:27 
Re: good disassembler for mixed 16bit and 32bit code?
Frank Kotler <spamtra  2008-03-31 18:25:20 
Re: good disassembler for mixed 16bit and 32bit code?
junkoi <spamtrap@[EMA  2008-04-02 22:32:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 21:08:44 CDT 2008.