Keil Logo Arm Logo

C166 User's Guide

SMALL Compiler Directive

Abbreviation

SM

Arguments

None.

Default

SMALL

µVision

Options — Target — Memory Model.

Description

The SMALL directive selects the small 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 near addresses.

See Also

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

Example
C166 SAMPLE.C SM

#pragma small

arm-logo-small

Keil logo
Important information

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