Keil Logo Arm Logo

MEDIUM Compiler Directive

Abbreviation

ME

Arguments

None.

Default

SMALL

µVision

Options — Target — Memory Model.

Description

The MEDIUM directive selects the medium memory model. The memory model affects the code generated by the compiler. In this memory model variables are accessed using near addresses and functions are accessed using far addresses.

See Also

COMPACT, HCOMPACT, HLARGE, HOLD, LARGE, SMALL, TINY, XLARGE

Example
#pragma ME

Keil logo

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.