Refer to http://os-blog.com/x86-64-assembly-programming-hello-world/.
Check /usr/include/unistd.h for system call numbers. Note that syscall numbers may be different for the same system call on 32 bit boxes and 64 bit boxes. Good luck!
Refer to http://os-blog.com/x86-64-assembly-programming-hello-world/.
Check /usr/include/unistd.h for system call numbers. Note that syscall numbers may be different for the same system call on 32 bit boxes and 64 bit boxes. Good luck!