# 2.11BSD#431 - /usr/src/lib/libc/pdp/gen/abs.s

##### Functions

    _abs              X

       1: /*
       2:  * Copyright (c) 1987 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifdef LIBC_SCCS
       8:         <@(#)abs.s	1.1 (Berkeley) 1/21/87\0>
       9:         .even
      10: #endif LIBC_SCCS
      11:
      12: /* abs - int absolute value */
      13:
      14: #include "DEFS.h"
      15:
      16: ENTRY(abs)
      17:         mov     2(sp),r0        / grab number
      18:         bge     1f
      19:         neg     r0              /   and negate is less than 0
      20: 1:
      21:         rts     pc              / return with booty

#### Defined functions

_abs defined in line 16; used 135 times

- in /usr/include/stdlib.h line 70
- in /usr/ingres/source/access/add_ovflo.c line 92
- in /usr/ingres/source/access/find.c line 112
- in /usr/ingres/source/access/findbest.c line 49, 154
- in /usr/ingres/source/access/inpcloser.c line 28
- in /usr/ingres/source/access/last_page.c line 23
- in /usr/ingres/source/access/noclose.c line 34
- in /usr/ingres/source/access/opencatalog.c line 138-142(2)
- in /usr/ingres/source/access/openr.c line 188
- in /usr/ingres/source/access/replace.c line 73
- in /usr/ingres/source/dbu/modify.c line 214, 222, 370, 544, 597, 650, 904
- in /usr/ingres/source/iutil/paramd.c line 58
- in /usr/src/games/backgammon/check.c line 101
- in /usr/src/games/backgammon/extra.c line 176-177(3), 193, 203
- in /usr/src/games/backgammon/fancy.c line 175, 288-289(2), 301-303(2), 309-315(4), 321-346(12), 467
- in /usr/src/games/backgammon/move.c line 386-390(2), 397, 429, 476-480(2), 490, 500-510(3), 520
- in /usr/src/games/backgammon/odds.c line 66-70(3)
- in /usr/src/games/backgammon/one.c line 21, 48, 55(2), 104, 124(2), 136
- in /usr/src/games/backgammon/subs.c line 261
- in /usr/src/games/hack/hack.c line 587-588(2)
- in /usr/src/games/hack/hack.mklev.c line 544-545(2)
- in /usr/src/games/hack/hack.termcap.c line 106-108(4)
- in /usr/src/games/hack/hack.vault.c line 115(2), 206(2)
- in /usr/src/games/hack/hack.wizard.c line 95-96(5)
- in /usr/src/games/hack/hack.zap.c line 401
- in /usr/src/games/monop/houses.c line 98-103(4), 197-202(4)
- in /usr/src/games/snake/move.c line 138
- in /usr/src/games/snake/snake.c line 685, 700
- in /usr/src/games/trek/torped.c line 198, 207
- in /usr/src/games/warp/bang.c line 138-139(2)
- in /usr/src/games/warp/move.c line 269(2)
- in /usr/src/games/warp/us.c line 53(2), 71(2), 86(2)
- in /usr/src/games/worm.c line 150
- in /usr/src/new/PORT/B/src/bsmall/B1tlt.c line 129
- in /usr/src/ucb/Mail/fmt.c line 218
- in /usr/src/ucb/window/wwscroll.c line 29
- in /usr/src/usr.bin/plot/crtplot.c line 185-189(4)
- in /usr/src/usr.bin/uucp/condevs.c line 398
- in /usr/src/usr.lib/libplot/dumb/subr.c line 23-29(4)
- in /usr/src/usr.lib/libplot/t4013/arc.c line 36(2)
- in /usr/src/usr.lib/libplot/t4013/subr.c line 32(2)
- in /usr/src/usr.lib/libplot/t4014/arc.c line 30(2)
- in /usr/src/usr.lib/libplot/t4014/subr.c line 28(2)
- in /usr/src/usr.sbin/lpr/filters/rvsort.c line 437
- in /usr/src/usr.sbin/lpr/filters/vsort.c line 622

Last modified: 1987-01-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1027 |