summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-25 16:55:44 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-25 16:55:44 -0800
commitb0c3b303f0d2b68ca949191f5fee5c5a2f8acfd0 (patch)
tree3925c7f20c18505f8e31f1a994f9c065afda8f7d
parentdd93f88b50c8a159e504c16dad8a18abca67bf86 (diff)
downloadsyslinux-b0c3b303f0d2b68ca949191f5fee5c5a2f8acfd0.tar.gz
Remove additional use of DX:AX
Remove an additional use of DX:AX for file size
-rw-r--r--runkernel.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/runkernel.inc b/runkernel.inc
index 6ee6e529..1a25a918 100644
--- a/runkernel.inc
+++ b/runkernel.inc
@@ -58,9 +58,6 @@ kernel_sane: push ax
push word real_mode_seg
pop es
- movzx eax,ax ; Fix this by using a 32-bit
- shl edx,16 ; register for the kernel size
- or eax,edx
mov [KernelSize],eax
add eax,SECTOR_SIZE-1
shr eax,SECTOR_SHIFT