¡@

Home 

c# Programming Glossary: cpuid

x86/x64 CPUID in C#

http://stackoverflow.com/questions/3216535/x86-x64-cpuid-in-c-sharp

strategy void x86CpuId int level byte buffer eax level cpuid buffer 0 eax buffer 4 ebx buffer 8 ecx buffer 12 edx private.. mov eax dword ptr ebp 8 move level into eax 0x0F 0xA2 cpuid 0x8B 0x7D 0x0C mov edi dword ptr ebp 12 move address of buffer.. byte x64CodeBytes 0x53 push rbx this gets clobbered by cpuid rcx is level rdx is buffer. Need to save buffer elsewhere cpuid..