Keil™, An ARM® Company

C166 User's Guide

OMF Limitations

Following is a list of the limitations of the OMF166 object module format.

  • The maximum number of sections in an object file is 32,767. Each compilation unit generates one code section (if it contains at least one function) and a variable number of other sections (typically 1 to 8), depending on the memory types used in variable declarations.
  • The maximum number of global (public) identifiers is 32,767. All file-level data and function definitions that are not explicitly declared with the static storage class are public identifiers.
  • The maximum number of external identifiers is 32,767.
  • The maximum number of interrupt procedures is 128. This limit is imposed by the C16x/ST10 architecture.