mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
12 lines
215 B
ArmAsm
12 lines
215 B
ArmAsm
|
.file "strcpy.S"
|
||
|
|
||
|
.section .text
|
||
|
.global _strcpy
|
||
|
.type _strcpy,@function
|
||
|
_strcpy:
|
||
|
mov r1, r4
|
||
|
mov #-1, r3 ; Strictly speaking this is incorrect, but I doubt if anyone will ever know.
|
||
|
smovu
|
||
|
mov r4, r1
|
||
|
rts
|