|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
Is there a way to determine the size of a program at run-time or compile-time?
No. Unfortunately, there is no way to do this with the tools.
You could locate a varaible at the end of your program, however, this isn't automatic and would require that you locate all of the variables in your program and then your "EOF" variable last.
Another thing to try is to fill your HEX file with a pattern and scan the memory for that pattern.
Article last edited on: 2000-10-30 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?