Line | |
---|
1 | ! bcopy() Author: Kees J. Bot
|
---|
2 | ! 2 Jan 1994
|
---|
3 | .sect .text; .sect .rom; .sect .data; .sect .bss
|
---|
4 |
|
---|
5 | ! void bcopy(const void *s1, void *s2, size_t n)
|
---|
6 | ! Copy a chunk of memory. Handle overlap.
|
---|
7 | ! This is a BSD routine that escaped from the kernel. Don't use.
|
---|
8 | !
|
---|
9 | .sect .text
|
---|
10 | .define _bcopy
|
---|
11 | .align 16
|
---|
12 | _bcopy:
|
---|
13 | mov eax, 4(esp) ! Exchange string arguments
|
---|
14 | xchg eax, 8(esp)
|
---|
15 | mov 4(esp), eax
|
---|
16 | jmp __memmove ! Call the proper routine
|
---|
Note:
See
TracBrowser
for help on using the repository browser.