Fix operand width

This commit is contained in:
christos 2017-02-04 16:14:27 +00:00
parent 9afef664aa
commit f06f692133

View File

@ -1,4 +1,4 @@
/* $NetBSD: startprog64.S,v 1.1 2017/01/24 11:09:14 nonaka Exp $ */ /* $NetBSD: startprog64.S,v 1.2 2017/02/04 16:14:27 christos Exp $ */
/* NetBSD: startprog.S,v 1.3 2003/02/01 14:48:18 dsl Exp */ /* NetBSD: startprog.S,v 1.3 2003/02/01 14:48:18 dsl Exp */
/* starts program in protected mode / flat space /* starts program in protected mode / flat space
@ -110,11 +110,11 @@ start:
.code32 .code32
start32a: start32a:
movl $DATA_SEGMENT, %eax movl $DATA_SEGMENT, %eax
movw %eax, %ds movw %ax, %ds
movw %eax, %es movw %ax, %es
movw %eax, %fs movw %ax, %fs
movw %eax, %gs movw %ax, %gs
movw %eax, %ss movw %ax, %ss
movl %edx, %esp movl %edx, %esp