Commit | Line | Data |
---|---|---|
2aa90f7d | 1 | /* block copy from from to to, count bytes */ |
e804469b | 2 | static char *sccsid = "@(#)bcopy.c 7.1 7/8/81"; |
2aa90f7d MH |
3 | bcopy(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 | { | |
299f2784 | 15 | while ((count--) > 0) /* mjm */ |
2aa90f7d MH |
16 | *to++ = *from++; |
17 | } | |
18 | #endif |