Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TCHAR szPBS[48] = { '\0' };
- __asm{
- mov eax, 80000002h
- cpuid
- mov dword ptr[szPBS + 0], eax
- mov dword ptr[szPBS + 4], ebx
- mov dword ptr[szPBS + 8], ecx
- mov dword ptr[szPBS + 12], edx
- mov eax, 80000003h
- cpuid
- mov dword ptr[szPBS + 16], eax
- mov dword ptr[szPBS + 20], ebx
- mov dword ptr[szPBS + 24], ecx
- mov dword ptr[szPBS + 28], edx
- mov eax, 80000004h
- cpuid
- mov dword ptr[szPBS + 32], eax
- mov dword ptr[szPBS + 36], ebx
- mov dword ptr[szPBS + 40], ecx
- mov dword ptr[szPBS + 44], edx
- mov word ptr[szPBS + 48], '\0'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement