Hi, this is the 1st commit, does it work?
[vmware.git] / aa.c
blob8b65e031c39f9ec32d0106e79cd16b16efe1ad69
1 /* filename :aa.c */
2 #include <stdio.h>
4 int main(void)
6 unsigned long long tmp = 2;
8 /* 下面这样改成asm volatile("addq $0x7fffffff, %0" 就可以 */
9 //asm volatile("movq $0x1122334455667788, %0"
10 asm volatile("addq $0x1122334455667788, %0"
11 : "=a" (tmp)
12 : "0" (tmp)
15 printf("tmp is %p\n", tmp);
17 return 0;