|
| HCOMPACT Compiler Directive| Abbreviation | | HCP | | Arguments | | None. | | Default | | SMALL | | µVision | | Options — Target — Memory Model. | | Description | | The HCOMPACT directive selects the hcompact memory model. The memory model affects the code generated by the compiler. In this memory model variables are accessed using huge addresses and functions are accessed using near addresses. Note - This memory model is not supported by the orignal 80C166 microntroller and is only available with the enhanced C16x/ST10 instruction set. Using this memory model automatically sets the MOD167 directive.
| | See Also | | COMPACT, HLARGE, HOLD, LARGE, MEDIUM, MOD167, SMALL, TINY, XLARGE | | Example | |
C166 SAMPLE.C HCOMPACT
#pragma hcompact
|
|
|