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!
>> 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 ?
Do you honestly believe you've provided enough information for anyone not familiar with this particular file, and the lines surrounding the four you've shared, to understand why they are critical?
I know exactly what these lines of code mean.
Who do you think you're kidding? The very fact that you asked the question you did proves beyond any reasonable doubt that you do not know the meaning of those lines, and certainly not "exactly".
"I'm asking how I can rewrite assembly language .s file with these definitions removed so everything is in correct position?"
And that very question was answered (above) on 30-Sep-2013 at 18:41 GMT!
Understanding what these two lines do, and understanding the result of removing them, aren't the same thing.
Have you started any investigation yet, to figure out why your program fails when you remove them?
... to figure out why your program fails when you remove them?
Which would be (part of) Option 1 given in the answer (above) on 30-Sep-2013 at 18:41 GMT!
"I know exactly what these lines of code mean."
Well, maybe you can explain to yourself exactly what these lines of code mean so you can rewrite them.