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

Why removing code from startup file crashes my code ?

Product         DCD     0 ;0
                EXPORT  Product

FirmwareVer     DCD     0x00000001             Version, cc = Major Version
                EXPORT  FirmwareVer

After removing above lines from my startup file(filename.s), my application doesn't even make it to main() or __main().
When I undo this change, I am running.

Please advise!

Parents
  • >> Perhaps someone within your organization can explain the purpose and impact of these structures/values.

    I know exactly what these lines of code mean. They are defined in this file and externed in C++ file. We don't need these two variables anymore because our architecture has changed.

    I'm asking how I can rewrite assembly language .s file with these definitions removed so everything is in correct position ?

Reply
  • >> Perhaps someone within your organization can explain the purpose and impact of these structures/values.

    I know exactly what these lines of code mean. They are defined in this file and externed in C++ file. We don't need these two variables anymore because our architecture has changed.

    I'm asking how I can rewrite assembly language .s file with these definitions removed so everything is in correct position ?

Children