Skip to main content

IAR Embedded Workbench for RL78 5.20

__sfr

In this section:
Syntax

See Syntax for type attributes used on data objects.

Description

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

Storage
  • Address range: 0xFFF000xFFFFF

  • Maximum object size: Typically, 256 bytes (depends on the device)

  • Pointer size: n/a

Example
__sfr int x;
See also

Memory types.