Basic NASM + C examples
Source code for the post "Running NASM inside C inside GDB"
64bit Integer calculations
num_calc.asm to do simple arithmetic on 64bit integers.
./make.sh to compile. Tested for macho64 (MacOS). To use other nasm formats see
Passing more arguments
num_calc_more.asm we can see how more arguments are being passed.
./make.sh to compile and run.
./num_calc_more 1 2 3 4 5 6 7 8 to test.