diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 16:55:44 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 16:55:44 -0800 |
commit | b0c3b303f0d2b68ca949191f5fee5c5a2f8acfd0 (patch) | |
tree | 3925c7f20c18505f8e31f1a994f9c065afda8f7d | |
parent | dd93f88b50c8a159e504c16dad8a18abca67bf86 (diff) | |
download | syslinux-b0c3b303f0d2b68ca949191f5fee5c5a2f8acfd0.tar.gz |
Remove additional use of DX:AX
Remove an additional use of DX:AX for file size
-rw-r--r-- | runkernel.inc | 3 |
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 |