X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadDs.asm;h=b8edcb69966e82103d0249fecdf9a719c21dd8a2;hp=6992766e58c5e3b8e05ee3b57129a2fe37cd6b9d;hb=3f566587aea64bb986866c7f69a6b82891bf59db;hpb=31a9215c3223d3818d1709f39d06774e18df103f diff --git a/MdePkg/Library/BaseLib/Ia32/ReadDs.asm b/MdePkg/Library/BaseLib/Ia32/ReadDs.asm index 6992766e58..b8edcb6996 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadDs.asm +++ b/MdePkg/Library/BaseLib/Ia32/ReadDs.asm @@ -22,7 +22,7 @@ ;------------------------------------------------------------------------------ .386 - .model flat + .model flat,C .code ;------------------------------------------------------------------------------ @@ -32,9 +32,9 @@ ; VOID ; ); ;------------------------------------------------------------------------------ -_AsmReadDs PROC - mov ax, ds +AsmReadDs PROC + mov eax, ds ret -_AsmReadDs ENDP +AsmReadDs ENDP END