summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-10-16 07:57:03 -0700
committerLiming Gao <liming.gao@intel.com>2016-06-28 09:51:53 +0800
commita230845601c7b0b5514dfe372b5e9bfa22f2f606 (patch)
tree045f9e3bb7def2748055f65f4104ed004a2a143f /MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm
parent7e08bace8c18fd73d6aa4e753999d236086d191f (diff)
downloadedk2-a230845601c7b0b5514dfe372b5e9bfa22f2f606.zip
edk2-a230845601c7b0b5514dfe372b5e9bfa22f2f606.tar.gz
edk2-a230845601c7b0b5514dfe372b5e9bfa22f2f606.tar.bz2
MdeModulePkg BootScriptExecutorDxe: Use NASM compatible syntax
Without this change, after converting this code to NASM, this error will be reported: error: invalid combination of opcode and operands 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/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm')
-rw-r--r--MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm
index 710546e..a040517 100644
--- a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm
+++ b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm
@@ -40,7 +40,7 @@ AsmTransferControl PROC
shrd ebx, ecx, 20
and ecx, 0fh
mov bx, cx
- mov @jmp_addr, ebx
+ mov [@jmp_addr], ebx
retf
@@:
DB 0b8h, 30h, 0 ; mov ax, 30h as selector