ack/mach/pdp/libem/iaar.s

21 lines
284 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 iaar~
.extern aar~,trp~
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
EILLINS = 022
1984-07-19 12:51:00 +00:00
iaar~:
mov (sp)+,r0
cmp (sp)+,$02
bne 1f
mov 02(sp),r1
mov r0,02(sp)
mov (sp)+,r0
jmp aar~
1: mov $EILLINS,-(sp)
jsr pc,trp~
add $06,sp
jmp (r0)