#------------------------------------------------------------------------------\r
#*\r
-#* Copyright 2006 - 2007, Intel Corporation \r
-#* All rights reserved. This program and the accompanying materials\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
#* http://opensource.org/licenses/bsd-license.php\r
#*\r
#------------------------------------------------------------------------------\r
\r
+ .code16 \r
+\r
.equ BLOCK_SIZE, 0x0200\r
.equ BLOCK_MASK, 0x01ff\r
.equ BLOCK_SHIFT, 9\r
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