汇编--mov

 

 

#include <iostream>

int main()
{
    std::cout << "Hello World!\n";


    unsigned nEax = 0;
    _asm mov nEax, eax;
    printf("nEax = %08X\n", nEax);


    _asm {
        mov al, 07FH;
        mov nEax, eax;
    
    }

    printf("nEax = %08X\n", nEax);



}

 

posted @ 2023-06-26 00:15  AngDH  阅读(22)  评论(0编辑  收藏  举报