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
|
|
|
|
1990-01-12 10:29:26 +00:00
|
|
|
! $Header$
|
1985-01-21 12:56:09 +00:00
|
|
|
|
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)
|