From: H. Peter Anvin Date: Tue, 26 Feb 2008 00:55:44 +0000 (-0800) Subject: Remove additional use of DX:AX X-Git-Tag: syslinux-3.70-pre1~13^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0c3b303f0d2b68ca949191f5fee5c5a2f8acfd0;p=profile%2Fivi%2Fsyslinux.git Remove additional use of DX:AX Remove an additional use of DX:AX for file size --- diff --git a/runkernel.inc b/runkernel.inc index 6ee6e52..1a25a91 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