Embedded Systems
m37735.txt
Associated article: Optimizing Microcontroller Performance
Tags: Mobile Embedded Systems
Published source code accompanying the article by James Flynn in which he describes a situation he encountered when developing control software for a Mitsubishi M37735-based cellular phone.
Optimizing Microcontroller Performance
by James Flynn
Listing One
void *memcpy(void *s1, const void *s2, size_t n)
{
char *su1;
const char *su2;
for (su1 = s1, su2=s2; 0<n; ++su1,++su2, --n)
*su1 = *su2;
return s1;
}
Listing Two
;; op-codes ...


