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 .dvu4
|
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
|
|
|
|
|
|
|
.dvu4:
|
|
|
|
movl (sp)+,r3
|
|
|
|
movl (sp)+,r2
|
1990-01-12 10:29:26 +00:00
|
|
|
blss I1
|
1985-01-18 14:30:03 +00:00
|
|
|
movl (sp)+,r0
|
|
|
|
clrl r1
|
|
|
|
ediv r2,r0,r0,r1
|
|
|
|
jmp (r3)
|
1990-01-12 10:29:26 +00:00
|
|
|
I1:
|
1985-01-18 14:30:03 +00:00
|
|
|
cmpl (sp)+,r2
|
1990-01-12 10:29:26 +00:00
|
|
|
bgequ I2
|
1985-01-18 14:30:03 +00:00
|
|
|
clrl r0
|
|
|
|
jmp (r3)
|
1990-01-12 10:29:26 +00:00
|
|
|
I2:
|
1985-01-18 14:30:03 +00:00
|
|
|
movl $1,r0
|
|
|
|
jmp (r3)
|