我尝试在 msasm 中执行与 icc 内联的汇编程序:
int main (void)
{
__asm{
mov eax, 5h; //works
push eax; // after shell command /opt/intel/bin/icc -use_msasm asm.c:
// asm.c(7): (col. 5) error: Unsupported instruction form in asm
// instruction push.
//pop ebp; // the same
};
printf("success!\n");
return 1;
}
有人知道为什么 icc 不接受推送和弹出吗?
提前致谢!