I have a bit of C code that uses Assembly inlines. Supposed there is a simple function like
int f(int arg) {...}
declared in the C code but implemented in assembly. How does GCC pass the arguments and the return values between the C and ASM code? Is it stack push/pop? Registers?
The makefile uses options
gccc -Wall -g -std=c99 -pedantic -g