ack/mach/vax4/libem/dvu4.s

23 lines
263 B
ArmAsm
Raw Normal View History

1985-01-18 14:30:03 +00:00
#include "em_abs.h"
# $Header$
1985-01-18 14:30:03 +00:00
.globl .dvu4
.dvu4:
movl (sp)+,r3
movl (sp)+,r2
blss L1
movl (sp)+,r0
clrl r1
ediv r2,r0,r0,r1
jmp (r3)
L1:
cmpl (sp)+,r2
bgequ L2
clrl r0
jmp (r3)
L2:
movl $1,r0
jmp (r3)