ack/mach/vax4/libem/fef.s

37 lines
452 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 .fef
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
.fef:
movl (sp)+,r3
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq I1
1990-01-12 15:34:21 +00:00
cvtfd (sp)+,r0
1990-01-12 10:29:26 +00:00
jsb Ihulp
1990-01-12 15:34:21 +00:00
cvtdf r0,-(sp)
1985-01-18 14:30:03 +00:00
jmp (r3)
1990-01-12 10:29:26 +00:00
I1:
1985-01-18 14:30:03 +00:00
cmpl r0,$8
1990-01-12 10:29:26 +00:00
bneq I2
1985-01-18 14:30:03 +00:00
movd (sp)+,r0
1990-01-12 10:29:26 +00:00
jsb Ihulp
1985-01-18 14:30:03 +00:00
movd r0,-(sp)
jmp (r3)
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
pushl $EILLINS
jmp .fat
1990-01-12 10:29:26 +00:00
Ihulp:
1990-01-12 15:41:59 +00:00
movl (sp)+,r2
1990-01-12 15:34:21 +00:00
tstd r0
bneq 1f
clrl -(sp)
1990-01-12 15:41:59 +00:00
jmp (r2)
1990-01-12 15:34:21 +00:00
1:
1990-01-12 15:41:59 +00:00
extzv $7,$8,r0,-(sp)
subl2 $128,(sp)
1985-01-18 14:30:03 +00:00
insv $128,$7,$8,r0
1990-01-12 15:41:59 +00:00
jmp (r2)