Skip to main content

IAR Embedded Workbench for RX 5.20

__sbrel

In this section:
Syntax

See Syntax for type attributes used on data objects.

Description

The __sbrel memory attribute places individual variables and constants in sbrel memory. It is only available when RWPI is enabled, and it is then the default memory attribute.

Storage
  • Address range: 0–0xFFFFFFFF (4 Gbytes), offset relative to the DB base register

  • Maximum object size: 2 Gbytes–1

  • Pointer size: 4 bytes.

Example
__sbrel int x;
See also

Memory types.