ack/mach/pdp/libem/aar.s

13 lines
159 B
ArmAsm
Raw Normal View History

1984-07-19 13:34:12 +00:00
/ $Header$
1984-07-19 12:51:00 +00:00
.text
.globl aar~
/r0 : descriptor address
1984-07-19 12:51:00 +00:00
/r1 : element number
/base address is on stack
aar~:
sub (r0),r1
mul 04(r0),r1
1984-07-19 12:51:00 +00:00
add r1,02(sp)
rts pc