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

I have a problem trying update my old version software developed in c51

I have an old version of c51 where I develop an application. I want to use a newer version of this compiler (c51), I want my old version to compile in the new version of c51. How can I make this work?
Thanks!

Parents
  • "The answer is yes if you recompile EVERYTHING"

    You also need to check what changed between the two versions.

    If features were removed or changed, and your code relies upon those features, you will have to change your code.

    You also need to check the defaults for compiler features - these may have changed, and this could affect your code.

    You will almost certainly find that the generated machine code is different; your code should not rely upon this but, if it does, you will have to modify it accordingly - software delay loops, as Erik mentioned, are a case in point

Reply
  • "The answer is yes if you recompile EVERYTHING"

    You also need to check what changed between the two versions.

    If features were removed or changed, and your code relies upon those features, you will have to change your code.

    You also need to check the defaults for compiler features - these may have changed, and this could affect your code.

    You will almost certainly find that the generated machine code is different; your code should not rely upon this but, if it does, you will have to modify it accordingly - software delay loops, as Erik mentioned, are a case in point

Children
No data