
Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Hello, I am new to this group,as well as new to working on DSPs. I am planning to work on C6211 by writing assembly code instead of coding in C. I searched the net in vain for some tutorials on how to go about taking the first step in writing assembly language codes. I would greatly appreciate it if someone could help me here. Any book, journal, e-material, tutorials on the net would be great. Thanks in advance. Raja
Raja, first make sure that you really need to use assembly language. The TI C compiler can do a great job at producing optimized code, if it gets a little help from you, eg.: - use compiler intrinsics in your code - use _nassert(), MUST_ITERATE, restrict, etc... C is way less error-prone than assembly language, and much more readable too. Also, you'll be able to execute your program on other platforms (ie. win32), which can be nice for testing and debugging. Also, avoid using L2 data cache if you can. Try to put everything in internal memory. If you still need to use assembly language, make sure to use linear (aka. serial) assembly. Have fun, Guy Eschemann Vienna, Austria. On 8/2/06, m...@gmail.com <m...@gmail.com> wrote: > > Hello, > I am new to this group,as well as new to working on DSPs. > > I am planning to work on C6211 by writing assembly code instead of coding > in C. I searched the net in vain for some tutorials on how to go about > taking the first step in writing assembly language codes. > > I would greatly appreciate it if someone could help me here. Any book, > journal, e-material, tutorials on the net would be great. > > Thanks in advance. > Raja > > >______________________________
Hello All Thanks for those who responded to my queries. I do need to write in assembly, not in C. Hence the question that I posted. Anyway thanks to Mr. Eschemann. I have been looking at some of the documents that were pointed to by the other members. Thanks a lot. Regards Raja______________________________