diff options
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S index 4b59dbc200..6f19826956 100644 --- a/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S +++ b/MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S @@ -40,7 +40,7 @@ _InternalMemCopyMem: movl 20(%esp), %edx # edx <- Count cmpl %esi, %edi
je L_CopyDone
- cmpl %edx, $0
+ cmpl $0, %edx je L_CopyDone
leal -1(%esi, %edx), %eax # eax <- End of Source cmpl %esi, %edi
|