ack/mach/vax4/libem/cuf.s

36 lines
535 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
1990-11-30 15:58:33 +00:00
cvtld (sp)+,-(sp)
1990-01-12 10:29:26 +00:00
bgeq Iout
1990-11-30 15:58:33 +00:00
addd2 Itwo32F,(sp)
1990-01-12 10:29:26 +00:00
Iout:
1990-11-30 15:58:33 +00:00
cvtdf (sp)+,-(sp)
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-11-30 15:58:33 +00:00
bgeq Iout2
1990-01-12 10:29:26 +00:00
addd2 Itwo32F,(sp)
1990-11-30 15:58:33 +00:00
Iout2:
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:
1990-11-30 14:35:51 +00:00
.data1 0200,0120,00,00,00,00,00,00