Release 3.5, August 20, 1980
[unix-history] / usr / src / usr.bin / ex / bcopy.c
CommitLineData
2aa90f7d 1/* block copy from from to to, count bytes */
b41bbcb5 2static char *sccsid = "@(#)bcopy.c 5.1 %G%";
2aa90f7d
MH
3bcopy(from, to, count)
4#ifdef vax
5 char *from, *to;
6 int count;
7{
8
9 asm(" movc3 12(ap),*4(ap),*8(ap)");
10}
11#else
12 register char *from, *to;
13 register int count;
14{
15 while (count--)
16 *to++ = *from++;
17}
18#endif