Answered Converting existing x32Bit to x64Bit in DDK

  • Thursday, June 28, 2012 4:38 AM
     
     

    Hi,
       Can anyone please convert the below piece of code into DDK x64.
    I know that  _asm is not supported in x64

    __asm
    {
    push ecx
    push edx
    push eax
    mov ecx,msr
    mov lval,eax
    mov hval,edx
    WRMSR
    pop eax
    pop edx
    pop ecx
    }

    __asm
    {
    push ecx
    push edx
    push eax
    mov ecx, 0x1A2
    RDMSR
    mov lval, eax
    mov hval, edx
    pop eax
    pop edx
    pop ecx
    }

     

All Replies