X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FSwapBytes64.asm;h=7647880202c47691637ce59a6f6d83d529667ab0;hb=a9a812a0ed4ab3d83941fdc6da281aebdb9bb296;hp=186d094eee0fad84bc2d351ff4a2a2d5611acc7d;hpb=741fb364170375f89aa9c29488cc402db07a3776;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.asm b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.asm index 186d094eee..7647880202 100644 --- a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.asm +++ b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.asm @@ -33,8 +33,8 @@ ; ); ;------------------------------------------------------------------------------ InternalMathSwapBytes64 PROC - mov eax, [esp + 8] - mov edx, [esp + 4] + mov eax, [esp + 8] ; eax <- upper 32 bits + mov edx, [esp + 4] ; edx <- lower 32 bits bswap eax bswap edx ret