1: / C library-- long divide/remainder
2:
3: .globl _ldiv, _ldivr
4: .globl _lrem
5:
6: _ldiv:
7: mov 2(sp),r0
8: mov 4(sp),r1
9: div 6(sp),r0
10: mov r1,_ldivr
11: rts pc
12:
13: _lrem:
14: mov 2(sp),r0
15: mov 4(sp),r1
16: div 6(sp),r0
17: mov r1,r0
18: rts pc
19:
20: .bss
21: _ldivr: .=.+2
Defined functions
_ldiv
declared in line
3; defined in line
6; used 19 times
_lrem
declared in line
4; defined in line
13; used 10 times
Defined variables
_ldivr
declared in line
3; defined in line
21; used 2 times