home *** CD-ROM | disk | FTP | other *** search
-
- asm("
- .globl ___mulsi3
-
- | D0 = D0 * D1"
-
- #ifdef OS_20_ONLY
- "
- ___mulsi3: moveml sp@(4),d0/d1"
-
- #ifndef SMALL_DATA
- "
- movel _UtilityBase,a0"
- #else
- "
- movel a4@(_UtilityBase:W),a0"
- #endif
- "
- jmp a0@(-138:W)"
-
- #else
- "
- ___mulsi3: moveml sp@(4),d0/d1
- movel d3,sp@-
- movel d2,sp@-
- movew d1,d2
- mulu d0,d2
- movel d1,d3
- swap d3
- mulu d0,d3
- swap d3
- clrw d3
- addl d3,d2
- swap d0
- mulu d1,d0
- swap d0
- clrw d0
- addl d2,d0
- movel sp@+,d2
- movel sp@+,d3
- rts"
-
- #endif
- );
-