Skip to main content

IAR Embedded Workbench for RL78 5.20

__saddr

In this section:
Syntax

See Syntax for type attributes used on data objects.

Description

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

You can also use the __saddr attribute to create a pointer explicitly pointing to an object located in the saddr memory.

Storage
  • Address range: 0xFFE200xFFF1F

  • Maximum object size: 256 bytes

  • Pointer size: 2 bytes

Example
__saddr int x;
See also

Memory types.