This question is for educational purpose only. I want to know the way to include an inline assembly code (I am using Xcode, with i7 Intel processor) in a C source code.
For example:
main(){
int a = 2, b = 3, c = 0;
/*
*Sum c = a + b implemented using assembly
*/
{
mov eax, ??? (a)
mov ebx, ??? (b)
bla bla bla...
}
return 0;
}