summaryrefslogtreecommitdiffstats
path: root/DuetPkg/BootSector/bs16.S
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 12:52:17 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 12:52:17 +0000
commit57b6de773d78bf627f71c7e9ecfa2d00f6ca2281 (patch)
tree00e53ecbf4931e8a266761bcaf6ca6b235bdd80c /DuetPkg/BootSector/bs16.S
parent3519b58b4e16aa78feddc31547a1d92a6e7bc6c5 (diff)
downloadedk2-57b6de773d78bf627f71c7e9ecfa2d00f6ca2281.tar.gz
edk2-57b6de773d78bf627f71c7e9ecfa2d00f6ca2281.tar.bz2
edk2-57b6de773d78bf627f71c7e9ecfa2d00f6ca2281.zip
in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. so use $ to reference string tag directly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7719 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector/bs16.S')
-rw-r--r--DuetPkg/BootSector/bs16.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/BootSector/bs16.S b/DuetPkg/BootSector/bs16.S
index a766d3315f..133a9c2570 100644
--- a/DuetPkg/BootSector/bs16.S
+++ b/DuetPkg/BootSector/bs16.S
@@ -65,7 +65,7 @@ BootSectorEntryPoint:
# ****************************************************************************
# Start Print
# ****************************************************************************
- leaw %cs:StartString, %si
+ movw $StartString, %si
call PrintString
# ****************************************************************************
@@ -261,7 +261,7 @@ NotFoundAll:
jne FoundEFILDR
BadBootSector:
DiskError:
- leaw %cs:ErrorString, %si
+ movw $ErrorString, %si
call PrintString
Halt:
jmp Halt