ack/mach/pdp/libem/mlu4.s

24 lines
323 B
ArmAsm
Raw Normal View History

1987-05-15 09:11:10 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.sect .text
.define mlu4~
.extern save~,retu~
1994-06-24 14:02:31 +00:00
! $Id$
1984-07-19 12:51:00 +00:00
mlu4~:
jsr pc,save~
1987-04-23 14:47:28 +00:00
clr r1
mov 02(sp),r0
1984-07-19 12:51:00 +00:00
mov 06(sp),r3
mul r3,r0
tst r3
bge 1f
1987-04-23 14:47:28 +00:00
add 02(sp),r0
1984-07-19 12:51:00 +00:00
1: mov 02(sp),r3
1987-04-23 14:47:28 +00:00
mul 04(sp),r3
1984-07-19 12:51:00 +00:00
add r3,r0
mov 06(sp),r3
1987-04-23 14:47:28 +00:00
mul (sp),r3
1984-07-19 12:51:00 +00:00
add r3,r0
add $010,sp
jmp retu~