Calling functions written in assembly from C is not so difficult, but it is important you understand the C function calling convention. According to this convention parameters are to be pushed onto the stack and return values stored in the eax register.
This means that when we call our function from C, the C compiler will [...]
Filed under: C, assembly, programming | Tagged: assembly, C | 3 Comments »