ack/mach/vax4/libem/fef.s

38 lines
441 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
1994-06-24 14:02:31 +00:00
! $Id$
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 17:02:31 +00:00
cvtfd (sp),r0
1990-01-12 10:29:26 +00:00
jsb Ihulp
1990-01-12 17:02:31 +00:00
cvtdf r0,(sp)
movl r2,-(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
1990-01-12 17:02:31 +00:00
movd (sp),r0
1990-01-12 10:29:26 +00:00
jsb Ihulp
1990-01-12 17:02:31 +00:00
movd r0,(sp)
movl r2,-(sp)
1985-01-18 14:30:03 +00:00
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:34:21 +00:00
tstd r0
bneq 1f
1990-01-12 17:02:31 +00:00
clrl r2
rsb
1990-01-12 15:34:21 +00:00
1:
1990-01-12 17:02:31 +00:00
extzv $7,$8,r0,r2
subl2 $128,r2
1985-01-18 14:30:03 +00:00
insv $128,$7,$8,r0
1990-01-12 17:02:31 +00:00
rsb