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 .cii
|
1985-01-18 14:30:03 +00:00
|
|
|
|
1994-06-24 14:02:31 +00:00
|
|
|
! $Id$
|
1985-01-21 12:56:09 +00:00
|
|
|
|
1985-01-18 14:30:03 +00:00
|
|
|
|
|
|
|
.cii:
|
|
|
|
movl (sp)+, r1
|
|
|
|
movl (sp)+, r0
|
|
|
|
cmpl (sp), $1
|
1990-01-12 10:29:26 +00:00
|
|
|
beql Ifrom1
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl (sp), $2
|
1990-01-12 10:29:26 +00:00
|
|
|
beql Ifrom2
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl (sp)+, $4
|
1990-01-12 10:29:26 +00:00
|
|
|
bgtr Ierr
|
1985-01-18 14:30:03 +00:00
|
|
|
jmp (r1)
|
1990-01-12 10:29:26 +00:00
|
|
|
Ifrom1:
|
1985-01-18 14:30:03 +00:00
|
|
|
cvtbw 4(sp), 4(sp)
|
1990-01-12 10:29:26 +00:00
|
|
|
Ifrom2:
|
1985-01-18 14:30:03 +00:00
|
|
|
tstl (sp)+
|
|
|
|
cvtwl (sp), (sp)
|
|
|
|
jmp (r1)
|
1990-01-12 10:29:26 +00:00
|
|
|
Ierr:
|
1985-01-18 14:30:03 +00:00
|
|
|
pushl $EILLINS
|
|
|
|
jmp .fat
|