Keil Logo

XLARGE Compiler Directive

Abbreviation

XLA

Arguments

None.

Default

SMALL

µVision

Options — Target — Memory Model.

Description

The XLARGE directive selects the xlarge memory model. The memory model affects the code generated by the compiler. In this memory model variables are accessed using xhuge addresses and functions are accessed using far 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, HCOMPACT, HLARGE, HOLD, LARGE, MEDIUM, MOD167, SMALL, TINY

Example
C166 SAMPLE.C XLARGE

#pragma xlarge
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.