This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I link several assembly files (src) together

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

Parents
  • "How could have this code compliled before in Riegel if they had not defined it then?"

    Probably because it has some pre-defined symbol "SP"
    To confirm this, you will have to read the Riegel Manual(s)

    "Can you let me know how I initialize SP for Keil uVision2 assembler?"

    For this, you will have to read the Keil Manuals

    I'm sorry - there is no shortcut here: if you're porting from one assembler to another, you need a thorough understanding of both assemblers!

    Time for some serious reading!

Reply
  • "How could have this code compliled before in Riegel if they had not defined it then?"

    Probably because it has some pre-defined symbol "SP"
    To confirm this, you will have to read the Riegel Manual(s)

    "Can you let me know how I initialize SP for Keil uVision2 assembler?"

    For this, you will have to read the Keil Manuals

    I'm sorry - there is no shortcut here: if you're porting from one assembler to another, you need a thorough understanding of both assemblers!

    Time for some serious reading!

Children