summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/BootSector/start.S')
-rw-r--r--DuetPkg/BootSector/start.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/DuetPkg/BootSector/start.S b/DuetPkg/BootSector/start.S
index d558652a9a..243ab3a42e 100644
--- a/DuetPkg/BootSector/start.S
+++ b/DuetPkg/BootSector/start.S
@@ -74,7 +74,7 @@ BootSectorEntryPoint:
NoVarStore:
pushw %es
# Set the 5th byte start @ 0:19000 to non-zero indicating we should init var store header in DxeIpl
- movb %al, %es:($4)
+ movb %al, %es:4
jmp SaveVolumeId
CheckVarStoreSize:
@@ -85,7 +85,7 @@ CheckVarStoreSize:
LoadVarStore:
movb $0, %al
- movb %al, %es:($4)
+ movb %al, %es:4
movw (%di), %cx
# ES:DI = 1500:0
xorw %di, %di
@@ -96,9 +96,9 @@ LoadVarStore:
SaveVolumeId:
popw %es
movw VolId(%bp), %ax
- movw %ax, %es:($0) # Save Volume Id to 0:19000. we will find the correct volume according to this VolumeId
+ movw %ax, %es:0 # Save Volume Id to 0:19000. we will find the correct volume according to this VolumeId
movw VolId+2(%bp), %ax
- movw %ax, %es:($2)
+ movw %ax, %es:2
# Read Efildr
popw %cx