ack/mach/vax4/libem/dvu4.s

24 lines
322 B
ArmAsm
Raw 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 .dvu4
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
.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)