C166 User's Guide

Large Model

The large memory model (selected with the LARGE directive) uses the segmented mode of the C16x/ST10/XC16x microcontroller. In this memory model:

  • Variables are stored in far memory when they require more space than defined by the HOLD directive.
  • Functions are stored in far memory and are accessed using far calls.

This memory model is the best choice for 80C166 programs that have large code and data requirements.