Abbreviation |
SM |
Arguments |
None. |
Default |
SMALL |
Description |
This
directive controls the selection of the memory model to
be implemented. The SMALL memory model places
all function variables and local data segments in the
internal data memory of the 8051 system. This allows for
very efficient access to data objects. The address space
of the SMALL memory model, however, is
limited. |
NOTES |
The stack
required for function calls is always placed in internal
memory. |
See Also |
COMPACT, LARGE, ROM |
Example
#pragma small