mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-24 17:04:19 +00:00
Upload
Digital Research
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
*
|
||||
* Floating Point Power :
|
||||
* Front End to IEEE Floating Point Package.
|
||||
*
|
||||
* double
|
||||
* pow(x,y)
|
||||
* double x, y;
|
||||
*
|
||||
* Returns : x ^ y
|
||||
*
|
||||
.globl pow
|
||||
.globl _pow
|
||||
.globl iefpwr
|
||||
.text
|
||||
pow:
|
||||
_pow:
|
||||
~~pow:
|
||||
link r14,#-4
|
||||
movem.l d3-d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
move.l 12(r14),r6
|
||||
jsr iefpwr
|
||||
move.l r7,r0
|
||||
movem.l (sp)+,d3-d7
|
||||
unlk r14
|
||||
rts
|
||||
Reference in New Issue
Block a user