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
_fabs
declared in line
12; defined in line
13; used 1 times