NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on February 07, 2008, 10:58:45 AM

Title: SYSTEM CALLS
Post by: nobody on February 07, 2008, 10:58:45 AM
Isn't that extraordinary that a decent documentation explaining (assembly) system calls for Linux is NOWHERE TO BE FOUND ???
most of the sites I've been to barely points to pages with a LIST of kernel calls. Some sites explain quite in detail how a Linux system call works, even how to create your own !!

Logically enough, i've checked out the Linux Kernel website, because that's where it's supposed to come from.
Nothing there either.

I'm now wondering how is that possible. I mean, this is the most famous open source OS
Title: Re: SYSTEM CALLS
Post by: nobody on February 07, 2008, 11:48:22 PM
man 2 exit, man 2 fork, man 2 read, man 2 write, man 2 open, ... man 3 getcwd (damme if I know why), man 2 ...

Some more info here:

http://linux.die.net/man/2/syscalls (http://linux.die.net/man/2/syscalls)

There's this one:

http://fatphil.org/x86/syscall.xml (http://fatphil.org/x86/syscall.xml)

And this one (for HLA):

http://webster.cs.ucr.edu/Page_Linux/LinuxSysCalls.pdf (http://webster.cs.ucr.edu/Page_Linux/LinuxSysCalls.pdf)

For a really nice "asm oriented" doc, look at Jeff Owens' AsmRef! Get the whole package, do "make install" and you'll find some really nice documentation in /usr/doc/asmref!!!

http://members.save-net.com/jko%40save-net.com/asm/ (http://members.save-net.com/jko%40save-net.com/asm/)

(plus other nice toys - "in Nasm for Nasm"!!!)

And as you point out, source code - the ultimate authority - is available. What more could you want? :)

Best,
Frank