1: / abs - int absolute value.
   2: / fabs - floating abs
   3: 
   4: .globl  _abs
   5: _abs:
   6:         mov     2(sp),r0
   7:         bge     1f
   8:         neg     r0
   9: 1:
  10:         rts     pc
  11: 
  12: .globl  _fabs
  13: _fabs:
  14:         movf    2(sp),fr0
  15:         absf    fr0
  16:         rts     pc

Defined functions

_abs declared in line 4; defined in line 5; used 1 times
  • in line 4
_fabs declared in line 12; defined in line 13; used 1 times
  • in line 12
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 439
Valid CSS Valid XHTML 1.0 Strict