Table of Contents
Previous topic Next topic
C COMPILER->Compiler Command Line Options->Small Memory Model (/AS)
This option tells the compiler to use the small memory model.
If the /AD option is not used, all objects are placed in internal indirectly addressable data memory except as follows:
If the /AD option is used, all objects are placed in internal directly addressable data memory except for the above exceptions.
- objects declared as const are placed in code memory
- string literals are placed in code memory
- _bit objects are placed in bit addressable internal ram
- objects qualified by a memory space qualifier are located in the specified memory space