This gist contains C preprocessor files to mix C and Assembly easier.
syscnr.inc
includes all the Linux system call numbers.registers.inc
includes all the Linux ABI registers for both C and system calls. Arguments start at 0.syscall.inc
includes macros for syscalls based on argument number.
Please do not remove the newline at the end of each file. Head to my Github profile where you will find a lot of goodies, a lot of projects and the such and so. My project Panah has some good Assembly code mixed with C.
Enjoy.