ernesthan Posted August 10, 2010 Share Posted August 10, 2010 static void cpuid(DWORD op, DWORD *EAX, DWORD *EBX, DWORD *ECX, DWORD *EDX) { DWORD A, B, C, D; _asm{ mov eax, op mov ecx, 0 cpuid mov A, eax mov B, ebx mov C, ecx mov D, edx } *EAX = A; *EBX = B; *ECX = C; *EDX = D; _cpuid(op,EAX,EBX,ECX,EDX); __asm__("cpuid" : "=a" (*EAX), "=b" (*EBX), "=c" (*ECX), "=d" (*EDX) : "a" (op)); } Link to comment Share on other sites More sharing options...
notsure Posted August 10, 2010 Share Posted August 10, 2010 You want us to convert that to AU3 code? How about starting by telling what you tried yourself? This is assembly, what are you trying to accomplish? Link to comment Share on other sites More sharing options...
trancexx Posted August 10, 2010 Share Posted August 10, 2010 Just search the forums. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now