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 .cuf
|
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
|
|
|
|
|
|
|
.cuf:
|
|
|
|
movl (sp)+,r2
|
|
|
|
movl (sp)+,r0
|
|
|
|
movl (sp)+,r1
|
|
|
|
cmpl r1,$4
|
1990-01-12 10:29:26 +00:00
|
|
|
bneq Ierr
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl r0,$4
|
1990-01-12 10:29:26 +00:00
|
|
|
bneq Idld
|
1985-01-18 14:30:03 +00:00
|
|
|
cvtlf (sp)+,-(sp)
|
1990-01-12 10:29:26 +00:00
|
|
|
bgeq Iout
|
|
|
|
addf2 Itwo32f,(sp)
|
|
|
|
Iout:
|
1985-01-18 14:30:03 +00:00
|
|
|
jmp (r2)
|
1990-01-12 10:29:26 +00:00
|
|
|
Idld:
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl r0,$8
|
1990-01-12 10:29:26 +00:00
|
|
|
bneq Ierr
|
1985-01-18 14:30:03 +00:00
|
|
|
cvtld (sp)+,-(sp)
|
1990-01-12 10:29:26 +00:00
|
|
|
bgeq Iout
|
|
|
|
addd2 Itwo32F,(sp)
|
1985-01-18 14:30:03 +00:00
|
|
|
jmp (r2)
|
1990-01-12 10:29:26 +00:00
|
|
|
Ierr:
|
1985-01-18 14:30:03 +00:00
|
|
|
pushl $EILLINS
|
|
|
|
jmp .fat
|
1990-01-12 10:29:26 +00:00
|
|
|
.sect .rom
|
|
|
|
Itwo32f:
|
1990-11-30 14:35:51 +00:00
|
|
|
.data1 0200,0120,00,00
|
1990-01-12 10:29:26 +00:00
|
|
|
Itwo32F:
|
1990-11-30 14:35:51 +00:00
|
|
|
.data1 0200,0120,00,00,00,00,00,00
|