ARM Technical Support Knowledge Articles

256 GLOBAL SYMBOLS LIMIT

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

In Appendix D of the C51 Compiler User's Guide (01.97), it states that the C51 compiler has a limit of 256 global symbols. Is this per source file or per project?

ANSWER

This is per source file and a limitation of the Intel Object Module Format (OMF-51). The format allows for one byte per source file to hold the number of global symbols.

Typically, one symbol equates to one global variable, however, a structure also equates to one symbol.

MORE INFORMATION

Article last edited on: 2005-07-15 12:09:49

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential