|
| COMPACT Compiler Directive| Abbreviation | | CP | | Arguments | | None. | | Default | | SMALL | | µVision | | Options — Target — Memory Model. | | Description | | The COMPACT directive selects the compact memory model. The memory model affects the code generated by the compiler. In this memory model variables are accessed using far addresses and functions are accessed using near addresses. | | See Also | | HCOMPACT, HLARGE, HOLD, LARGE, MEDIUM, SMALL, TINY, XLARGE | | Example | |
C166 SAMPLE.C COMPACT
#pragma compact
|
|
|