mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
5262695ceb
commit
ea3be8b66f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue