diff options
author | hpa <hpa> | 2005-04-29 06:08:03 +0000 |
---|---|---|
committer | hpa <hpa> | 2005-04-29 06:08:03 +0000 |
commit | 25b68a8eb102118d7db99b7b5bdc6682caef701f (patch) | |
tree | 3328cea79f10176a6ca8c0f06d0efc8edb63ecfc | |
parent | fb670ca5f21b775de2f67314cefb0ab6d6bfcb56 (diff) | |
download | syslinux-25b68a8eb102118d7db99b7b5bdc6682caef701f.tar.gz |
Don't clobber live registers, it's not nicesyslinux-3.08-pre10
-rw-r--r-- | memdisk/memdisk.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/memdisk/memdisk.asm b/memdisk/memdisk.asm index fca9aad5..6eb83302 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 |