ARM Technical Support Knowledge Articles

SMALL DIRECTIVE

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

What does the SMALL directive do?

ANSWER

The SMALL directive specifies that the compiler use the small memory model. With the small memory model, all variables and local data segments of functions and procedures reside in the internal data memory (DATA) of the 8051 system. The small memory model allows very efficient access to data objects but is limited to 128 bytes of data space.

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-10-24 13:47:23

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential