mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
11 lines
223 B
ArmAsm
11 lines
223 B
ArmAsm
|
.file "memcpy.S"
|
||
|
|
||
|
.section .text
|
||
|
.global _memcpy
|
||
|
.type _memcpy,@function
|
||
|
_memcpy:
|
||
|
mov r1, r4 ; Save a copy of DEST
|
||
|
smovf ; Copy R2 (source) to R1 (dest). Stop after R3 bytes.
|
||
|
mov r4, r1 ; Return DEST
|
||
|
rts
|