Keil™, An ARM® Company

Technical Support

C51: 256 GLOBAL SYMBOLS LIMIT


Information in this article applies to:

  • C51 Version 5.50

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

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure