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: Argument va...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4618 of 4729
Post > Topic >>

Re: Argument values

by Frank Kotler <spamtrap@[EMAIL PROTECTED] > Apr 15, 2008 at 07:08 AM

Owen wrote:
> Hi,
> 
> I am having beginners problems locating do***entation, where would I
> find the full list of the arguments, n, as in       mov  eax,n
> like,
> 
> mov  eax,4           ; sys_write
> mov  eax,6           ; sys_close
> mov  eax,8           ; create_file
> 
> (using linux and nasm if that matters)

They're defined in:

/usr/include/asm/unistd.h

and explained in section 2 of the man pages - "man 2 write", etc. "man 
write" is *not* what you want.

Nice do***entation in the AsmRef section of AsmIde from Jeff Owens here:

http://members.save-net.com/jko@[EMAIL
PROTECTED]
(you can download just AsmRef if you want)

Best,
Frank
 




 4 Posts in Topic:
Argument values
Owen <spamtrap@[EMAIL  2008-04-14 22:13:23 
Re: Argument values
Frank Kotler <spamtra  2008-04-15 07:08:43 
Re: Argument values
nbaker2328 <spamtrap@[  2008-04-15 00:31:45 
Re: Argument values
"Rod Pemberton"  2008-04-15 03:12:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Jul 26 2:12:55 CDT 2008.