Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern/arch/m68k Convert to morotola syntax
details: https://anonhg.NetBSD.org/src/rev/375bd6564df2
branches: trunk
changeset: 788693:375bd6564df2
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 12:29:30 2013 +0000
description:
Convert to morotola syntax
diffstat:
sys/lib/libkern/arch/m68k/skpc.S | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r 60aa55609781 -r 375bd6564df2 sys/lib/libkern/arch/m68k/skpc.S
--- a/sys/lib/libkern/arch/m68k/skpc.S Thu Jul 18 12:28:26 2013 +0000
+++ b/sys/lib/libkern/arch/m68k/skpc.S Thu Jul 18 12:29:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: skpc.S,v 1.6 2011/02/08 20:20:27 rmind Exp $ */
+/* $NetBSD: skpc.S,v 1.7 2013/07/18 12:29:30 matt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -44,13 +44,13 @@
* skpc(mask, count, startc)
*/
ENTRY(skpc)
- movl %sp@(8),%d0 | get length
+ movl 8(%sp),%d0 | get length
jeq Lskdone | nothing to do, return
- movb %sp@(7),%d1 | mask to use
- movl %sp@(12),%a0 | where to start
+ movb 7(%sp),%d1 | mask to use
+ movl 12(%sp),%a0 | where to start
subqw #1,%d0 | adjust for dbcc
Lskloop:
- cmpb %a0@+,%d1 | compate with mask
+ cmpb (%a0)+,%d1 | compate with mask
dbne %d0,Lskloop | keep going til no more or zero
addqw #1,%d0 | overshot by one
Lskdone:
Home |
Main Index |
Thread Index |
Old Index