mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
7e08bace8c
commit
a230845601
|
@ -40,7 +40,7 @@ AsmTransferControl PROC
|
||||||
shrd ebx, ecx, 20
|
shrd ebx, ecx, 20
|
||||||
and ecx, 0fh
|
and ecx, 0fh
|
||||||
mov bx, cx
|
mov bx, cx
|
||||||
mov @jmp_addr, ebx
|
mov [@jmp_addr], ebx
|
||||||
retf
|
retf
|
||||||
@@:
|
@@:
|
||||||
DB 0b8h, 30h, 0 ; mov ax, 30h as selector
|
DB 0b8h, 30h, 0 ; mov ax, 30h as selector
|
||||||
|
|
|
@ -32,7 +32,7 @@ AsmTransferControl PROC
|
||||||
shrd ebx, ecx, 20
|
shrd ebx, ecx, 20
|
||||||
and ecx, 0fh
|
and ecx, 0fh
|
||||||
mov bx, cx
|
mov bx, cx
|
||||||
mov @jmp_addr, ebx
|
mov [@jmp_addr], ebx
|
||||||
retf
|
retf
|
||||||
@@:
|
@@:
|
||||||
DB 0b8h, 30h, 0 ; mov ax, 30h as selector
|
DB 0b8h, 30h, 0 ; mov ax, 30h as selector
|
||||||
|
|
Loading…
Reference in New Issue