When a program written in C language and contains few assembly language statements , is known "using inline assembly in C" .
Following C Program may help you out.
#include <stdio.h>
int main() {
/* Add 10 and 20 and store result into register %eax */
__asm__ ( "movl $10, %eax;"
"movl $20, %ebx;"
"addl %ebx, %eax;"
);
register int sum asm("eax");
printf("%d", sum);
return 0 ;
}