mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-25 01:14:21 +00:00
Upload
Digital Research
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
*
|
||||
* Floating Point Float to Long Routine :
|
||||
* Front End to FFP Floating Point Package.
|
||||
*
|
||||
* long
|
||||
* fpftol(fparg)
|
||||
* double fparg;
|
||||
*
|
||||
* Condition Codes : V bit signifies Overflow
|
||||
*
|
||||
* Return : Fixed Point representation of Floating Point Number
|
||||
*
|
||||
.globl fpftol
|
||||
.globl _fpftol
|
||||
.globl ffpfpi
|
||||
.text
|
||||
fpftol:
|
||||
_fpftol:
|
||||
~~fpftol:
|
||||
link r14,#-4
|
||||
movem.l d3-d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr ffpfpi
|
||||
move.l r7,r0
|
||||
movem.l (sp)+,d3-d7
|
||||
unlk r14
|
||||
rts
|
||||
Reference in New Issue
Block a user