Keil™, An ARM® Company

C166 User's Guide

HLarge Model

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

  • Variables are stored in huge 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 C16x/ST10/XC16x programs that have large code and data requirements.

Note

  • The HLARGE memory model is not available for 80C166 microcontrollers.