int a=576,b=45676;
int c=0;
char buf[50]; _asm{
lea eax,c
movd mm0,a
movd mm2,a
movd mm1,b
pmullw mm0,mm1
pmulhw mm2,mm1
paddsw mm0,mm2
movd [eax],mm0
emms
}
sprintf(buf,"c: %d\n",c);
MessageBox(buf);这是我写的,结果不对,错在那里?
int c=0;
char buf[50]; _asm{
lea eax,c
movd mm0,a
movd mm2,a
movd mm1,b
pmullw mm0,mm1
pmulhw mm2,mm1
paddsw mm0,mm2
movd [eax],mm0
emms
}
sprintf(buf,"c: %d\n",c);
MessageBox(buf);这是我写的,结果不对,错在那里?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货