diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 14:41:56 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-26 14:41:56 +0000 |
commit | 20193e01ca7f2e20c8be6b412c8cf0a5132d1c1c (patch) | |
tree | 2ecb056a0b0cade715547533d16ff042bf07daa8 /DuetPkg/BootSector/bootsect.S | |
parent | 0375ec8d8f643a6c8c3238f22157592b44c6dba2 (diff) | |
download | edk2-platforms-20193e01ca7f2e20c8be6b412c8cf0a5132d1c1c.tar.xz |
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
Diffstat (limited to 'DuetPkg/BootSector/bootsect.S')
-rw-r--r-- | DuetPkg/BootSector/bootsect.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/BootSector/bootsect.S b/DuetPkg/BootSector/bootsect.S index 2b82422f8c..62f50aca49 100644 --- a/DuetPkg/BootSector/bootsect.S +++ b/DuetPkg/BootSector/bootsect.S @@ -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
|