1/* bcopy() Author: Kees J. Bot */ 2/* 2 Jan 1994 */ 3 4/* void bcopy(const void *s1, void *s2, size_t n) */ 5/* Copy a chunk of memory. Handle overlap. */ 6/* This is a BSD routine that escaped from the kernel. Don't use. */ 7/* */ 8.text 9.globl _bcopy 10.balign 16 11_bcopy: 12 movl 4(%esp), %eax /* Exchange string arguments */ 13 xchgl 8(%esp), %eax 14 movl %eax, 4(%esp) 15 jmp __memmove /* Call the proper routine */ 16