ack/mach/vax4/libem/fif.s

28 lines
428 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 .fif
1985-01-18 14:30:03 +00:00
1994-06-24 14:02:31 +00:00
! $Id$
1990-01-12 10:29:26 +00:00
.sect .rom
Ione: .data1 0200, 077, 00, 00, 00, 00, 00, 00
1985-01-18 14:30:03 +00:00
.fif:
movl (sp)+,r2
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq I1
1985-01-18 14:30:03 +00:00
mulf3 (sp)+,(sp)+,r0
1990-01-12 10:29:26 +00:00
emodf r0,$0,Ione,r1,-(sp)
1985-01-18 14:30:03 +00:00
subf3 (sp),r0,-(sp)
jmp (r2)
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
muld3 (sp)+,(sp)+,r0
1990-01-12 10:29:26 +00:00
emodd r0,$0,Ione,r0,-(sp)
1985-01-18 14:30:03 +00:00
subd3 (sp),r0,-(sp)
jmp (r2)
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
pushl $EILLINS
jmp .fat