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: [Clax86list...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 4553 of 4729
Post > Topic >>

Re: [Clax86list] Question about NASM

by Charles Crayne <spamtrap@[EMAIL PROTECTED] > Mar 1, 2008 at 09:38 PM

On Sat, 1 Mar 2008 20:08:25 -0800 (PST)
fetag  <spamtrap@[EMAIL PROTECTED]
> wrote:

> My question is: where the mov eax,0x4 in disassembly code? and where
> the two add statements come from? where the "00000000

Because, for some unknown reason, ndisasm did not recognize 
"B8" as a valid instruction code. Fortunately, I am not able to
replicate the problem on the current version (2.02). Instead, I get:
[chuck@[EMAIL PROTECTED]
 bintest]$ ndisasm -b 32 first.exe
00000000  B804000000        mov eax,0x4
00000005  BB02000000        mov ebx,0x2
0000000A  C3                ret

Which version of nasm are you using?

-- 
Chuck 
http://www.pacificsites.com/~ccrayne/charles.html
 




 6 Posts in Topic:
Question about NASM
fetag <spamtrap@[EMAI  2008-03-01 20:08:25 
Re: Question about NASM
Jack Klein <jackklein@  2008-03-01 23:29:00 
Re: [Clax86list] Question about NASM
Charles Crayne <spamt  2008-03-01 21:38:08 
Re: Question about NASM
Frank Kotler <spamtra  2008-03-02 09:56:08 
Re: Question about NASM
"H. Peter Anvin"  2008-03-03 11:05:20 
Re: Question about NASM
fetag <spamtrap@[EMAI  2008-03-03 16:40:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Jul 24 15:00:49 CDT 2008.