aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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