mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
15 lines
295 B
ArmAsm
15 lines
295 B
ArmAsm
|
; This file exists to provide a movsd implementation of strcpy().
|
||
|
; Continue to use the generic version for targets other than h8sx.
|
||
|
#ifdef __H8300SX__
|
||
|
#include "setarch.h"
|
||
|
|
||
|
.global _strcpy
|
||
|
_strcpy:
|
||
|
stm.l er4-er6,@-er7
|
||
|
mov.l er0,er6
|
||
|
mov.l er1,er5
|
||
|
1: movsd 2f
|
||
|
bra 1b
|
||
|
2: rts/l er4-er6
|
||
|
#endif
|