diff options
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/start/start16.S')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/start/start16.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/start/start16.S b/c/src/lib/libbsp/i386/pc386/start/start16.S index d452e40310..730bb60265 100644 --- a/c/src/lib/libbsp/i386/pc386/start/start16.S +++ b/c/src/lib/libbsp/i386/pc386/start/start16.S @@ -98,9 +98,9 @@ _start16: | load the other segment registers +---------------------------------------------------------------------*/ movl $PROT_DATA_SEG, %eax - movl %ax, %ds - movl %ax, %es - movl %ax, %ss + movw %ax, %ds + movw %ax, %es + movw %ax, %ss movl $start16 + STACKOFF, %esp # set up stack pointer addl $start16 + STACKOFF, %ebp # set up stack pointer |