Play-/Source/ui_win32/SysInfo_x64.asm
2015-05-06 01:27:59 -04:00

18 lines
224 B
NASM

PUBLIC _SysInfo_CPUID
.CODE
_SysInfo_CPUID PROC
push r12
mov r12, rdx
mov rax, rcx
cpuid
mov dword ptr[r12 + 0], ebx;
mov dword ptr[r12 + 4], edx;
mov dword ptr[r12 + 8], ecx;
pop r12
ret
_SysInfo_CPUID ENDP
END