Commit | Line | Data |
---|---|---|
0c0d2709 | 1 | /*- |
1badf3b6 | 2 | * Copyright (c) 1991 The Regents of the University of California. |
0c0d2709 KB |
3 | * All rights reserved. |
4 | * | |
1badf3b6 | 5 | * %sccs.include.redist.c% |
586c39b1 DF |
6 | */ |
7 | ||
0c0d2709 | 8 | #if defined(LIBC_SCCS) && !defined(lint) |
1badf3b6 | 9 | .asciz "@(#)abs.s 5.5 (Berkeley) %G%" |
0c0d2709 | 10 | #endif /* LIBC_SCCS and not lint */ |
d0204a90 | 11 | |
1badf3b6 | 12 | ENTRY(abs) |
d0204a90 | 13 | movl 4(ap),r0 |
1badf3b6 | 14 | jgeq 1f |
d0204a90 BJ |
15 | mnegl r0,r0 |
16 | 1: | |
17 | ret |