Retro68/gcc/newlib/libc/machine/rx/strcpy.S
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

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