ack/mach/vax4/libem/cui.s

27 lines
315 B
ArmAsm

#include "em_abs.h"
# $Header$
.globl .cui
.cui:
movl (sp)+,r1
movl (sp)+,r0
cmpl r0,$4
bneq Lerr
movl (sp)+,r0
cmpl r0,$4
bneq Lerr
tstl (sp)
bgeq L1
jbr Liovfl
L1:
jmp (r1)
Lerr:
pushl $EILLINS
jmp .fat
Liovfl:
pushl $EIOVFL
pushl r1
jmp .trp