Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#.MODEL small
|
||||
.stack:
|
||||
.486p:
|
||||
.code16:
|
||||
.code16
|
||||
|
||||
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x020
|
||||
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5
|
||||
@@ -275,7 +275,7 @@ ErrorString:
|
||||
# LBA Offset for BootSector, need patched by tool for HD boot.
|
||||
# ****************************************************************************
|
||||
|
||||
# .org 0x01fa # Comment it for pass build. Should optimise code size.
|
||||
.org 0x01fa # Comment it for pass build. Should optimise code size.
|
||||
LBAOffsetForBootSector:
|
||||
.long 0x0
|
||||
|
||||
@@ -283,7 +283,7 @@ LBAOffsetForBootSector:
|
||||
# Sector Signature
|
||||
# ****************************************************************************
|
||||
|
||||
# .org 0x01fe # Comment it for pass build.
|
||||
.org 0x01fe # Comment it for pass build.
|
||||
SectorSignature:
|
||||
.word 0xaa55 # Boot Sector Signature
|
||||
|
||||
|
Reference in New Issue
Block a user