Keil Logo

B. Assembler Limits

The A166 Assembler embodies some known limitations. For the most part, there are no limits placed on the assembler with respect to assembly language programming. Most limits are imposed by the amount of physical memory that is available.

Assembler Limitations

  • The maximum number of nested include files is 9.
  • The maximum length of an identifier is 80 characters.
  • The maximum number of symbols is 6,000 per module.
  • The maximum length of a source line is 510 characters.
  • The maximum depth of section nesting is 10 levels.
  • The maximum number of section definitions is limited only by the available memory.
  • The maximum number of group definitions is limited only by the available memory.

OMF Limitations

  • 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.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.