From 119204d80f7023a0781287fe7adad1435665d5c9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 10 Jan 2000 20:40:41 +0000 Subject: Removed warning by changing %eax -> %ax as source of move to segment registers. --- c/src/lib/libbsp/i386/pc386/start/start16.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/i386/pc386/start/start16.S') 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 -- cgit v1.2.3