1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
cc65/libsrc/geos/memory/movedata.s
izydorst 8e97e1f4b7 own versions of some common routines, fillram and movedata equal to memset
and memcpy


git-svn-id: svn://svn.cc65.org/cc65/trunk@789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-15 16:09:50 +00:00

25 lines
378 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 30.10.99, 15.07.2001
; void MoveData (char* dest, char *source, int length);
.import popax
.export _MoveData
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
_MoveData:
sta r2L
stx r2H
jsr popax
sta r0L
stx r0H
jsr popax
sta r1L
stx r1H
jmp MoveData