From: hpa Date: Fri, 29 Apr 2005 06:08:03 +0000 (+0000) Subject: Don't clobber live registers, it's not nice X-Git-Tag: syslinux-3.11~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25b68a8eb102118d7db99b7b5bdc6682caef701f;p=platform%2Fupstream%2Fsyslinux.git Don't clobber live registers, it's not nice --- diff --git a/memdisk/memdisk.asm b/memdisk/memdisk.asm index fca9aad..6eb8330 100644 --- a/memdisk/memdisk.asm +++ b/memdisk/memdisk.asm @@ -511,9 +511,9 @@ bcopy: or al,01h mov cr0,eax - mov ax,16 ; Large flag segment - mov ds,ax - mov es,ax + mov bx,16 ; Large flat segment + mov ds,bx + mov es,bx a32 rep movsd