summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadSs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadSs.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadSs.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadSs.asm b/MdePkg/Library/BaseLib/Ia32/ReadSs.asm
index 6d0cd9f2a0..414353755f 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadSs.asm
+++ b/MdePkg/Library/BaseLib/Ia32/ReadSs.asm
@@ -22,7 +22,7 @@
;------------------------------------------------------------------------------
.386
- .model flat
+ .model flat,C
.code
;------------------------------------------------------------------------------
@@ -32,9 +32,9 @@
; VOID
; );
;------------------------------------------------------------------------------
-_AsmReadSs PROC
- mov ax, ss
+AsmReadSs PROC
+ mov eax, ss
ret
-_AsmReadSs ENDP
+AsmReadSs ENDP
END