利用汇编代码获取计算机的机器码

发布时间 2023-12-27 18:23:04作者: 叕叒双又

原文链接:https://arvinhk.com/post/8.html

 

 

原文链接:https://arvinhk.com/post/8.htmlCString str; unsigned long s1,s2,s3,s4; __asm { mov eax,00h xor edx,edx cpuid mov s1, edx mov s2, eax } __asm { mov eax,01h xor ecx,ecx xor edx,edx cpuid mov s3, edx mov s4, ecx } str.Format(L"%X%X%X%X",s1,s2,s3,s4); MessageBox(str); - 转载请保留原文链接:https://arvinhk.com/post/8.html