ack/mach/pdp/libem/csb.s

25 lines
311 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 csb~
.extern fat~
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
ECASE = 024
1984-07-19 12:51:00 +00:00
csb~:
mov (r0)+,-(sp)
mov (r0)+,r3
beq 1f
3: cmp (r0)+,r1
beq 2f
tst (r0)+
sob r3,3b
1: mov (sp)+,r1
br 4f
2: tst (sp)+
mov (r0),r1
4: beq 5f
jmp (r1)
5: mov $ECASE,-(sp)
1984-07-19 12:51:00 +00:00
jmp fat~