diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-10-16 07:57:03 -0700 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-06-28 09:51:54 +0800 |
commit | ea3be8b66f2c2635f02f20525706db7ad2b02eac (patch) | |
tree | 3b757d3c264b69a3929aba50e43f7b50e3f8f930 /MdeModulePkg | |
parent | 5262695cebf68be86928c7c5a6af5c73d281e858 (diff) | |
download | edk2-ea3be8b66f2c2635f02f20525706db7ad2b02eac.zip edk2-ea3be8b66f2c2635f02f20525706db7ad2b02eac.tar.gz edk2-ea3be8b66f2c2635f02f20525706db7ad2b02eac.tar.bz2 |
MdeModulePkg EbcDxe: Use NASM compatible syntax
Without this change, after converting this code to NASM, this error
will be reported:
error: comma or end of line expected
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm b/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm index b16fda6..d5e7423 100644 --- a/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm +++ b/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm @@ -56,12 +56,12 @@ EbcLLCALLEXNative PROC PUBLIC ; Get function address in a register
; mov ecx, FuncAddr => mov ecx, dword ptr [FuncAddr]
- mov ecx, dword ptr [esp]+0Ch
+ mov ecx, dword ptr [esp + 0Ch]
; Set stack pointer to new value
; mov eax, NewStackPointer => mov eax, dword ptr [NewSp]
- mov eax, dword ptr [esp] + 14h
- mov edx, dword ptr [esp] + 10h
+ mov eax, dword ptr [esp + 14h]
+ mov edx, dword ptr [esp + 10h]
sub eax, edx
sub esp, eax
mov ebx, esp
|