Skip to main content

IAR Embedded Workbench for RX 5.20

__data16

In this section:
Syntax

See Syntax for type attributes used on data objects.

Description

The __data16 memory attribute overrides the default storage of variables given by the selected data model and places individual variables and constants in data16 memory.

Storage
  • Address range: 0–0x7FFF, 0xFFFF8000–0xFFFFFFFF (64 Kbytes)

  • Maximum object size: 32 Kbytes.

  • Pointer size: 4 bytes.

Example
__data16 int x;
See also

Memory types.