ack/mach/vax4/libem/csa4.s

24 lines
394 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 .csa4
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
.csa4:
1990-01-12 10:29:26 +00:00
movl (sp)+,r0 ! descriptor address
movl (sp)+,r1 ! index
movl (r0)+,r2 ! default
1985-01-18 14:30:03 +00:00
subl2 (r0)+,r1
cmpl (r0)+,r1
1990-01-12 10:29:26 +00:00
blssu I1
1985-01-18 14:30:03 +00:00
movl (r0)[r1],r1
1990-01-12 10:29:26 +00:00
bneq I2
I1:
1985-01-18 14:30:03 +00:00
movl r2,r1
1990-01-12 10:29:26 +00:00
bneq I2
1985-01-18 14:30:03 +00:00
pushl $ECASE
jmp .fat
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
jmp (r1)