1: / C floating mod
   2: / fmod(a,b) returns a number n such that
   3: /	i*b + n is a and 0 <= n < b
   4: 
   5: .globl  _fmod
   6: _fmod:
   7:         mov     r5,-(sp)
   8:         mov     sp,r5
   9:         movf    4(r5),fr0
  10:         divf    12.(r5),fr0
  11:         modf    $one,fr0
  12:         mulf    12.(r5),fr1
  13:         movf    4(r5),fr0
  14:         subf    fr1,fr0
  15:         mov     (sp)+,r5
  16:         rts     pc
  17: one = 40200

Defined functions

_fmod declared in line 5; defined in line 6; used 1 times
  • in line 5
one defined in line 17; used 1 times
  • in line 11
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 409
Valid CSS Valid XHTML 1.0 Strict