aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-04-29 06:08:03 +0000
committerhpa <hpa>2005-04-29 06:08:03 +0000
commit25b68a8eb102118d7db99b7b5bdc6682caef701f (patch)
tree3328cea79f10176a6ca8c0f06d0efc8edb63ecfc
parentfb670ca5f21b775de2f67314cefb0ab6d6bfcb56 (diff)
downloadsyslinux-3.08-pre10.tar.gz
syslinux-3.08-pre10.tar.xz
syslinux-3.08-pre10.zip
Don't clobber live registers, it's not nicesyslinux-3.08-pre10
-rw-r--r--memdisk/memdisk.asm6
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