ack/mach/pdp/libem/cmi4.s

23 lines
245 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 cmi4~
1994-06-24 14:02:31 +00:00
! $Id$
1984-07-19 12:51:00 +00:00
cmi4~:
mov (sp)+,r1
clr r0
cmp (sp),4(sp)
bgt 1f
blt 2f
cmp 2(sp),6(sp)
bhi 1f
beq 3f
2:
inc r0
br 3f
1:
dec r0
3:
1987-05-15 09:11:10 +00:00
add $010,sp
1984-07-19 12:51:00 +00:00
jmp (r1)