]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/SwapBytes64.asm
remove unnecessary comments introduced by tools from MdePkg. The regular express...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / SwapBytes64.asm
index 72e366bd4d05c3a06ecca93abb44e385b218cdad..7647880202c47691637ce59a6f6d83d529667ab0 100644 (file)
 ;\r
 ;------------------------------------------------------------------------------\r
 \r
-    .586P\r
+    .586\r
     .model  flat,C\r
     .code\r
 \r
+;------------------------------------------------------------------------------\r
+; UINT64\r
+; EFIAPI\r
+; InternalMathSwapBytes64 (\r
+;   IN      UINT64                    Operand\r
+;   );\r
+;------------------------------------------------------------------------------\r
 InternalMathSwapBytes64 PROC\r
-    mov     eax, [esp + 8]\r
-    mov     edx, [esp + 4]\r
+    mov     eax, [esp + 8]              ; eax <- upper 32 bits\r
+    mov     edx, [esp + 4]              ; edx <- lower 32 bits\r
     bswap   eax\r
     bswap   edx\r
     ret\r