void memcpy(void * dest, void * src, unsigned int len)
{
unsigned char * pcDest;
unsigned char * pcSrc;
// pcDest =(unsigned char * )dest;
//pcSrc = (unsigned char * )src;
while(len --)
{
*pcDest = * pcSrc;
pcSrc++;
pcDest++;
}
}
问题:
// pcDest =(unsigned char * )dest; //pcSrc = (unsigned char * )src;这两句注释掉,汇编调用这个C函数也是可以正确执行,有点不理解。