ack/mach/vax4/libem/rmu4.s

21 lines
295 B
ArmAsm
Raw Normal View History

1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .rmu4
1994-06-24 14:02:31 +00:00
! $Id$
1985-01-18 14:30:03 +00:00
.rmu4:
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,r1,r0
jmp (r3)
1990-01-12 10:29:26 +00:00
I1:
1985-01-18 14:30:03 +00:00
movl (sp)+,r0
cmpl r0,r2
1990-01-12 10:29:26 +00:00
blssu I2
1985-01-18 14:30:03 +00:00
subl2 r2,r0
1990-01-12 10:29:26 +00:00
I2:
1985-01-18 14:30:03 +00:00
jmp (r3)