Keil Logo

Small Model

In the Small memory model, all variables, by default, reside in the internal data memory of the 251 system — as if they were declared explicitly using the data memory type specifier.

In this memory model, variable access is very efficient. Using the HOLD directive, you can direct variables above a specific object size to alternative memory areas. Data pointers are 4 byte pointers which allow the addressing of the entire 16 Mbyte address space.

The Small memory model is a good choice if you need variable access to the complete 16MB memory area.

  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.