Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
295 bytes
|
Line | |
---|
1 | ; This file exists to provide a movsd implementation of strcpy(). |
---|
2 | ; Continue to use the generic version for targets other than h8sx. |
---|
3 | #ifdef __H8300SX__ |
---|
4 | #include "setarch.h" |
---|
5 | |
---|
6 | .global _strcpy |
---|
7 | _strcpy: |
---|
8 | stm.l er4-er6,@-er7 |
---|
9 | mov.l er0,er6 |
---|
10 | mov.l er1,er5 |
---|
11 | 1: movsd 2f |
---|
12 | bra 1b |
---|
13 | 2: rts/l er4-er6 |
---|
14 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.