#include <iostream> int main() { std::cout << "Hello World!\n"; unsigned nEax = 0; unsigned nEbx = 0; unsigned* pEax = &nEax; _asm { lea eax, nEax; mov nEax, eax; }; printf("nEax = %08X pEax=%08p\n", nEax,pEax); }
标签:std,lea,cout,汇编,指令,main From: https://www.cnblogs.com/angdh/p/17507698.html