We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How do I link several assembly files (src) together Hi! I am new into a project where I have several assembly files (.src) belonging to a project in my hand. I figured that almost 80% of them belong to the project and the rest 20% are just there (I am not too sure about it may be they are old source files). I created a new project using Keil uVision2 and added up all the assembly source file under it. But now how do I tell it which all source files it has to link and which not. Because as of now If i saw build target files it just tries to build every assembly source file in the order they where added. Can anyone help me to understand how actualy you link the various assembly source files in Keil uVision2. Since my project has no documentation is there also a smarter way to find out which all assembly source files belong together and should be linked. Regards Kumaran
Thanks Jon! Its strange that I cant find a single book about C166 family in Amazon in english. I am wondering why there exist no books on C166 family but plenty on other processors.
I thought I'd share my experience here. There is no need to buy any books on C166 because all the information is available on the Infineon's web site. Here is the page with their C166 product line: http://www.infineon.com/cgi/ecrm.dll/ecrm/scripts/prod_cat.jsp?oid=-8137 It has links to numerous application notes, most of which are not related to actual programming of a C166. The important link is to the C166 family instruction set manual: http://www.infineon.com/cgi/ecrm.dll/ecrm/scripts/public_download.jsp?oid=8056&parent_oid=-8137 It's not that hard to read. The tricky thing, as Jon said, is to familiarize yourself with all the addressing modes. I guess the efficient way is to read up on each of those modes when you see them in the code you have to deal with. Another manual you will probably have to read is the microcontroller manual. You'll find it in the individual product section of the Infineon's web site. And, of course, you will have to learn Keil's assembler syntax. That would be in the Keil's assembler manual. All of that is a lot to learn. I'm no expert in teaching so I can't give advice how to plan the learning process. All I can tell is that Infineon's and Keil's manuals was all I needed. And you should read them from first page to last at least once, but not necessarily in one go. It's all right if you won't remember much after reading. The important thing is that you will know where to look when you have a question. - mike