/*
* An example of using placeholders for a common value
*
* 引用占位符
*/
#include <stdio.h>
int main()
{
int data1 = 10;
int data2 = 20;
__asm("imull %1, %0\n\t"
:"=r"(data2)
: "r"(data1), "0"(data2)); /* 0 is zero */
printf("The result is %d\n", data2);
return 0;
}