ack/mach/vax4/libem/cmi.s

24 lines
315 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 .cmi
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
.cmi:
movl (sp)+,r1
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq Ierr
1985-01-18 14:30:03 +00:00
clrl r0
cmpl (sp)+,(sp)+
1990-01-12 10:29:26 +00:00
beql I1
bgtr I2
1985-01-18 14:30:03 +00:00
incl r0
1990-01-12 10:29:26 +00:00
br I1
I2:
1985-01-18 14:30:03 +00:00
decl r0
1990-01-12 10:29:26 +00:00
I1:
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