24 lines
315 B
ArmAsm
24 lines
315 B
ArmAsm
#include "em_abs.h"
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
.define .cmi
|
|
|
|
! $Id$
|
|
|
|
.cmi:
|
|
movl (sp)+,r1
|
|
cmpl r0,$4
|
|
bneq Ierr
|
|
clrl r0
|
|
cmpl (sp)+,(sp)+
|
|
beql I1
|
|
bgtr I2
|
|
incl r0
|
|
br I1
|
|
I2:
|
|
decl r0
|
|
I1:
|
|
jmp (r1)
|
|
Ierr:
|
|
pushl $EILLINS
|
|
jmp .fat
|