diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-05 14:35:55 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-05 14:35:55 -0700 |
commit | 6831030abcb28fa34f63ec8d1a6304d097addb90 (patch) | |
tree | d77453443593edec23741bb97a7a0af781c288f7 | |
parent | 3c123fd0201e0421386aefa02a362ca2a1f860e5 (diff) | |
download | syslinux-6831030abcb28fa34f63ec8d1a6304d097addb90.tar.gz syslinux-6831030abcb28fa34f63ec8d1a6304d097addb90.tar.xz syslinux-6831030abcb28fa34f63ec8d1a6304d097addb90.zip |
diskstart: use the correct register for the starting address
The starting address is obtained in si, not edi.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | core/diskstart.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/diskstart.inc b/core/diskstart.inc index 01248534..b2ef2b63 100644 --- a/core/diskstart.inc +++ b/core/diskstart.inc @@ -126,7 +126,7 @@ ldlinux_ent: add edx,eax loop .checksum mov [CheckSum],edx ; Save intermediate result - mov ebx,edi ; Start of the next sector + movzx ebx,si ; Start of the next sector ; ; Tell the user if we're using EBIOS or CBIOS |