ack/mach/pdp/libem/ciu.s

16 lines
233 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 cuu~
1994-06-24 14:02:31 +00:00
! $Id$
1987-05-15 09:11:10 +00:00
1984-07-19 12:51:00 +00:00
cuu~:
mov (sp)+,r1
mov (sp)+,r0
sub (sp)+,r0
ble 1f
asr r0
2: clr -(sp)
sob r0,2b
1987-05-15 09:11:10 +00:00
1: sub r0,sp ! if out of sob loop r0==0
1984-07-19 12:51:00 +00:00
jmp (r1)