http://www.g-brain.net/tutorials/writing-linux-programs-in-raw-binary.txt http://www.g-brain.net/tutorials/writing-linux-programs-in-raw-binary.txt
linux system call
Documents the journey from C code to assembly to machine code very nicely.