23 lines
257 B
ArmAsm
23 lines
257 B
ArmAsm
|
# $Header$
|
||
|
#include "em_abs.h"
|
||
|
|
||
|
.globl .cmu
|
||
|
|
||
|
.cmu:
|
||
|
movl (sp)+,r1
|
||
|
cmpl r0,$4
|
||
|
bneq Lerr
|
||
|
clrl r0
|
||
|
cmpl (sp)+,(sp)+
|
||
|
beqlu L1
|
||
|
bgtru L2
|
||
|
incl r0
|
||
|
brb L1
|
||
|
L2:
|
||
|
decl r0
|
||
|
L1:
|
||
|
jmp (r1)
|
||
|
Lerr:
|
||
|
pushl $EILLINS
|
||
|
jmp .fat
|