ack/mach/pdp/libem/cmf.s

21 lines
203 B
ArmAsm
Raw Normal View History

1984-07-19 13:34:12 +00:00
/ $Header$
1984-07-19 12:51:00 +00:00
.text
.globl cmf~
.globl setfloat~
cmf~:
jsr pc,setfloat~
mov (sp)+,r1
movf (sp)+,r0
movf (sp)+,r1
clr r0
cmpf r0,r1
setd
1984-07-19 12:51:00 +00:00
cfcc
beq 1f
blt 2f
dec r0
jmp (r1)
2: inc r0
1: jmp (r1)