summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2005-04-29 06:05:52 +0000
committerhpa <hpa>2005-04-29 06:05:52 +0000
commitfb670ca5f21b775de2f67314cefb0ab6d6bfcb56 (patch)
treeda1dceaeedf617d0945a704b736d4f4207219867
parent5f64a1decec0d6bd4408a5b7a51ce05453f0b6f1 (diff)
downloadsyslinux-fb670ca5f21b775de2f67314cefb0ab6d6bfcb56.tar.gz
Use the correct register
-rw-r--r--memdisk/memdisk.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/memdisk.asm b/memdisk/memdisk.asm
index fc2c736c..fca9aad5 100644
--- a/memdisk/memdisk.asm
+++ b/memdisk/memdisk.asm
@@ -519,8 +519,8 @@ bcopy:
; DX has the appropriate value to put in
; the registers on return
- mov ds,bx
- mov es,bx
+ mov ds,dx
+ mov es,dx
and al,~01h
mov cr0,eax