mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-24 08:54:17 +00:00
Upload
Digital Research
This commit is contained in:
25
CPM OPERATING SYSTEMS/CPM 68K/1.0X SOURCES/v102/libe/fpcmp.s
Normal file
25
CPM OPERATING SYSTEMS/CPM 68K/1.0X SOURCES/v102/libe/fpcmp.s
Normal file
@@ -0,0 +1,25 @@
|
||||
*
|
||||
* Floating Point Compare :
|
||||
* Front End to IEEE Floating Point Package.
|
||||
*
|
||||
* fpcmp(source,dest)
|
||||
* double source, dest;
|
||||
*
|
||||
* Returns : Condition codes based on Floating Point Compare
|
||||
* in the Condition code register
|
||||
*
|
||||
.globl fpcmp
|
||||
.globl _fpcmp
|
||||
.globl iefcmp
|
||||
.text
|
||||
fpcmp:
|
||||
_fpcmp:
|
||||
~~fpcmp:
|
||||
link r14,#-4
|
||||
movem.l d6-d7,-(sp)
|
||||
move.l 8(r14),r7
|
||||
move.l 12(r14),r6
|
||||
jsr iefcmp
|
||||
movem.l (sp)+,d6-d7
|
||||
unlk r14
|
||||
rts
|
||||
Reference in New Issue
Block a user