In the Tiny 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, the variable and pointer access is very
efficient. The default pointers size is just 2 bytes and represents
pointers to near memory. Constants are placed in NCONST memory
class. Using the HOLD directive,
you can direct variables above a specific object size to other memory
areas.
Typically, if the linker/locator is configured to overlay
variables in the internal data memory, the Tiny model is the best
model to use.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.