]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm
ArmPkg/ArmDisassemblerLib: fix check for MSR instruction
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuIdEx.asm
index 4e54d0c360abd839752b7bbef23b1688429fe629..9cca11b7523bc540d8a44b752fd0bc69b771a189 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
 ; This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
@@ -56,9 +56,9 @@ AsmCpuidEx  PROC    USES    ebx
     jecxz   @F\r
     mov     [ecx], edx\r
 @@:\r
-    mov     edx, [ebp + 28]\r
+    mov     ecx, [ebp + 28]\r
     jecxz   @F\r
-    pop     [ecx]\r
+    pop     DWORD [ecx]\r
 @@:\r
     mov     eax, [ebp + 12]\r
     leave\r