home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
387b.lha
/
dice_v2.02
/
lib
/
memory
/
memcpy.a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-05-30
|
388 b
|
24 lines
; MEMCPY.A
;
; (c)Copyright 1990, Matthew Dillon, All Rights Reserved
;
; memcpy(d, s, bytes) -> movmem(s, d, bytes)
xdef _memcpy
xdef _memmove
xref _movmem
section text,code
_memcpy:
_memmove:
lea 4(sp),A0
movem.l (A0),D0/D1
exg D0,D1
movem.l D0/D1,(A0)
jmp _movmem
END