ack/mach/vax4/libem/cuf.s

36 lines
541 B
ArmAsm
Raw Normal View History

1985-01-18 14:30:03 +00:00
#include "em_abs.h"
1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .cuf
1985-01-18 14:30:03 +00:00
1990-01-12 10:29:26 +00:00
! $Header$
1985-01-18 14:30:03 +00:00
.cuf:
movl (sp)+,r2
movl (sp)+,r0
movl (sp)+,r1
cmpl r1,$4
1990-01-12 10:29:26 +00:00
bneq Ierr
1985-01-18 14:30:03 +00:00
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq Idld
1985-01-18 14:30:03 +00:00
cvtlf (sp)+,-(sp)
1990-01-12 10:29:26 +00:00
bgeq Iout
addf2 Itwo32f,(sp)
Iout:
1985-01-18 14:30:03 +00:00
jmp (r2)
1990-01-12 10:29:26 +00:00
Idld:
1985-01-18 14:30:03 +00:00
cmpl r0,$8
1990-01-12 10:29:26 +00:00
bneq Ierr
1985-01-18 14:30:03 +00:00
cvtld (sp)+,-(sp)
1990-01-12 10:29:26 +00:00
bgeq Iout
addd2 Itwo32F,(sp)
1985-01-18 14:30:03 +00:00
jmp (r2)
1990-01-12 10:29:26 +00:00
Ierr:
1985-01-18 14:30:03 +00:00
pushl $EILLINS
jmp .fat
1990-01-12 10:29:26 +00:00
.sect .rom
Itwo32f:
.data1 0200,0117,00,00
Itwo32F:
.data1 0200,0117,00,00,00,00,00,00