This gist contains C preprocessor files to mix C and Assembly easier.
syscnr.incincludes all the Linux system call numbers.registers.incincludes all the Linux ABI registers for both C and system calls. Arguments start at 0.syscall.incincludes 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.