mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 08:24:18 +00:00
Upload
Digital Research
This commit is contained in:
63
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/8/FPLTOF.S
Normal file
63
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/8/FPLTOF.S
Normal file
@@ -0,0 +1,63 @@
|
||||
*
|
||||
* Floating Point Long to Float Routine :
|
||||
* Front End to IEEE Floating Point Package.
|
||||
*
|
||||
* double
|
||||
* fpltof(larg)
|
||||
* long larg;
|
||||
*
|
||||
* Return : Floating Point representation of Long Fixed point integer
|
||||
*
|
||||
.globl fpltof
|
||||
.globl _fpltof
|
||||
.globl iefifp
|
||||
.text
|
||||
fpltof:
|
||||
_fpltof:
|
||||
~~fpltof:
|
||||
link r14,#-4
|
||||
movem.l d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr iefifp
|
||||
move.l r7,r0
|
||||
movem.l (sp)+,d7
|
||||
unlk r14
|
||||
rts
|
||||
tof:
|
||||
~~fpltof:
|
||||
link r14,#-4
|
||||
movem.l d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr iefifp
|
||||
move.l r7,r0
|
||||
movem.l (s)+,d7
|
||||
unlk r14
|
||||
rts
|
||||
tof:
|
||||
~~fpltof:
|
||||
link r14,#-4
|
||||
movem.l d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr iefifp
|
||||
move.l r7,r0
|
||||
movem.l (s)+,d7
|
||||
unlk r14
|
||||
rts
|
||||
tof:
|
||||
~~fpltof:
|
||||
link r14,#-4
|
||||
movem.l d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr iefifp
|
||||
move.l r7,r0
|
||||
movem.l (s)+,d7
|
||||
unlk r14
|
||||
rts
|
||||
tof:
|
||||
~~fpltof:
|
||||
link r14,#-4
|
||||
movem.l d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
jsr iefifp
|
||||
move.l r7,r0
|
||||
movem.l (s
|
Reference in New Issue
Block a user