Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk/mbr_bootsel shut up assembler warnings
details: https://anonhg.NetBSD.org/src/rev/a1a0b9a683e3
branches: trunk
changeset: 534860:a1a0b9a683e3
user: ross <ross%NetBSD.org@localhost>
date: Sun Aug 04 20:29:44 2002 +0000
description:
shut up assembler warnings
diffstat:
sbin/fdisk/mbr_bootsel/mbr_bootsel.S | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (37 lines):
diff -r f68e78567af9 -r a1a0b9a683e3 sbin/fdisk/mbr_bootsel/mbr_bootsel.S
--- a/sbin/fdisk/mbr_bootsel/mbr_bootsel.S Sun Aug 04 20:27:22 2002 +0000
+++ b/sbin/fdisk/mbr_bootsel/mbr_bootsel.S Sun Aug 04 20:29:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbr_bootsel.S,v 1.4 1999/05/02 12:20:01 fvdl Exp $ */
+/* $NetBSD: mbr_bootsel.S,v 1.5 2002/08/04 20:29:44 ross Exp $ */
/*-
@@ -209,12 +209,12 @@
ENTRY(start)
data32
xorl %eax, %eax
- movl %ax, %ss
- movl $BOOTADDR, %sp
- movl %ax, %es
- movl %ax, %ds
- xorl %si,%si
- movl %sp, %si
+ movl %eax, %ss
+ movl $BOOTADDR, %esp
+ movl %eax, %es
+ movl %eax, %ds
+ xorl %esi,%esi
+ movl %esp, %esi
movw_imm_reg(_C_LABEL(start),DI)
movw_imm_reg(0x100,CX)
rep
@@ -256,7 +256,7 @@
call16(putasciz)
2:
incb %al
- addl $TABENTRYSIZE,%di
+ addl $TABENTRYSIZE,%edi
loop 1b
/*
Home |
Main Index |
Thread Index |
Old Index