忐忑鸡

文章
3
资源
0
加入时间
4年1月24天

函数参数与堆栈有关,与寄存器无关

#includeusing namespace std;void f(int a,int b){ cout << "c++ inline asm " << endl; cout << "a := " << a << ", b := " << b << endl;}int main(){ int a = 0; __asm{ pop a; push