On invoking memcpy() and analyzing the assembly routines, I understand that apart from routines related to copying of data from source to destination (of different byte sizes) many other instructions are there which are not getting covered by the function (viewed in disassembly window in CCS). Function declaration which I invoked is: memcpy(src, dest, 3) [where, src and dest are arrays with unsigned integer elements of size 20, and third parameter is size of data to be copied from src to dest]. Can anyone throw some light on the assembly instructions which are not getting covered by the mentioned function invocation? Am I doing any mistake in function invocation? For your reference, I will attach a portion of .lst file for memcpy() with instructions (Line No.- 169 to 259) I am missing in this entire process. If anyone can suggest any design document from TI regarding these library files (in "\ti\ccsv5\tools\compiler\arm_5.0.4\lib\rtssrc.zip") it will be very helpful to me.
Thanks.