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:
klu2
2009-02-26 14:41:56 +00:00
parent 0375ec8d8f
commit 20193e01ca
5 changed files with 41 additions and 30 deletions

View File

@@ -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