ack/mach/vax4/libem/cms.s

19 lines
247 B
ArmAsm
Raw Normal View History

1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .cms
1985-01-18 14:30:03 +00:00
1994-06-24 14:02:31 +00:00
! $Id$
1990-01-12 10:29:26 +00:00
! bytes in r0
1985-01-18 14:30:03 +00:00
.cms:
movl (sp)+,r3
addl3 sp,r0,r1
addl3 r1,r0,r2
ashl $-2,r0,r0
1990-01-12 10:29:26 +00:00
I1:
1985-01-18 14:30:03 +00:00
cmpl (sp)+,(r1)+
1990-01-12 10:29:26 +00:00
bneq I2
sobgtr r0,I1
I2:
1985-01-18 14:30:03 +00:00
movl r2,sp
jmp (r3)