]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/Mbr.S
DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can boot...
[mirror_edk2.git] / DuetPkg / BootSector / Mbr.S
index a1ebe06ca59a995dc49ad136e226a55e5edddc9d..65c97ea973c9f32a9173adf6390d4d8517df5c4f 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #*\r
-#*   Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+#*   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 #*   This program and the accompanying materials\r
 #*   are licensed and made available under the terms and conditions of the BSD License\r
 #*   which accompanies this distribution.  The full text of the license may be found at\r
@@ -54,7 +54,7 @@ _start:
         xorw  %ax, %ax                            # AX = 0x0000\r
         movw  $0x7c00, %bx                        # BX = 0x7C00\r
         movw  $0x600, %bp                         # BP = 0x0600\r
-        movw  RelocatedStart, %si                 # SI = Offset(RelocatedStart)\r
+        movw  $RelocatedStart, %si                # SI = Offset(RelocatedStart)\r
         movw  $0x200, %cx                         # CX = 0x0200\r
         subw  %si, %cx                            # CS = 0x0200 - Offset(RelocatedStart)\r
         leaw  (%bp,%si,), %di                     # DI = 0x0600 + Offset(RelocatedStart)\r