summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2013-07-18 12:29:30 +0000
committermatt <matt@NetBSD.org>2013-07-18 12:29:30 +0000
commitaee899fd0da99747978a0be766b47454561bb511 (patch)
tree1feb7cd1ff3f80fa047d9badd29ac0d7c1ee09d5 /sys/lib
parent388f1d75e6e1c38872b54b1d599ba580ad52343b (diff)
Convert to morotola syntax
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/arch/m68k/skpc.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/lib/libkern/arch/m68k/skpc.S b/sys/lib/libkern/arch/m68k/skpc.S
index 7a73a46ea57..1e9b69e0529 100644
--- a/sys/lib/libkern/arch/m68k/skpc.S
+++ b/sys/lib/libkern/arch/m68k/skpc.S
@@ -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: