/
/ PDP-11 C.
/ Standard Library.
/
/ Copy.
/

	.globl	copy

/
/ char *copy(out, in, nbytes)
/ Returns just past the end of the output.
/

copy:
	jsr	r0,_save

	mov	12(r5),r0
	mov	14(r5),r1
	mov	16(r5),r2

0:
	dec	r2
	bmi	0f
	movb	(r1)+,(r0)+
	br	0b

0:
	jmp	_ret
