ack/mach/vax4/libem/cmf.s

32 lines
395 B
ArmAsm
Raw Permalink 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 .cmf
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
.cmf:
movl (sp)+,r1
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq I1
1985-01-18 14:30:03 +00:00
clrl r0
cmpf (sp)+,(sp)+
1990-01-12 10:29:26 +00:00
br I3
I1:
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
clrl r0
cmpd (sp)+,(sp)+
1990-01-12 10:29:26 +00:00
I3:
beql I2
bgtr I4
1985-01-18 14:30:03 +00:00
incl r0
1990-01-12 10:29:26 +00:00
br I2
I4:
1985-01-18 14:30:03 +00:00
decl r0
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
jmp (r1)
1990-01-12 10:29:26 +00:00
Ierr:
1985-01-18 14:30:03 +00:00
pushl $EILLINS
jmp .fat