ack/mach/pdp/libem/aar.s

14 lines
224 B
ArmAsm
Raw Permalink Normal View History

1987-05-15 09:11:10 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.sect .text
.define aar~
1994-06-24 14:02:31 +00:00
! $Id$
1984-07-19 12:51:00 +00:00
1987-05-15 09:11:10 +00:00
!r0 : descriptor address
!r1 : element number
!base address is on stack
1984-07-19 12:51:00 +00:00
aar~:
sub (r0),r1
mul 04(r0),r1
1984-07-19 12:51:00 +00:00
add r1,02(sp)
rts pc