From ea3be8b66f2c2635f02f20525706db7ad2b02eac Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 16 Oct 2014 07:57:03 -0700 Subject: [PATCH] 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 Cc: Feng Tian Cc: Star Zeng --- MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm b/MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.asm index b16fda69fa..d5e742399f 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