summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/ReadCs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/ReadCs.asm')
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCs.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/ReadCs.asm b/MdePkg/Library/BaseLib/X64/ReadCs.asm
index 126149a47c..642ce5b169 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCs.asm
+++ b/MdePkg/Library/BaseLib/X64/ReadCs.asm
@@ -31,7 +31,7 @@
; );
;------------------------------------------------------------------------------
AsmReadCs PROC
- mov ax, cs
+ mov eax, cs
ret
AsmReadCs ENDP