aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/mbr.S
diff options
context:
space:
mode:
Diffstat (limited to 'mbr/mbr.S')
-rw-r--r--mbr/mbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/mbr.S b/mbr/mbr.S
index edfccfb1..82dc5a6e 100644
--- a/mbr/mbr.S
+++ b/mbr/mbr.S
@@ -43,6 +43,7 @@ _start:
movw %ax, %ds
movw %ax, %ss
movw $stack, %sp
+ movw %sp, %si
pushw %es /* es:di -> $PnP header */
pushw %di
pushw %dx /* dl -> drive number */
@@ -51,7 +52,6 @@ _start:
cld
/* Copy down to 0:0x600 */
- movw %sp, %si
movw $_start, %di
movw $(512/2), %cx
rep; movsw