Jump to content
Sign in to follow this  
ernesthan

Convert AU3 ?

Recommended Posts

ernesthan

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));

}

Share this post


Link to post
Share on other sites
notsure

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?

Share this post


Link to post
Share on other sites
trancexx

Just search the forums.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×