Skip to main content

IAR Embedded Workbench for RL78 5.20

--workseg_area

In this section:
Syntax
--workseg_area[=size]
Parameters

size

The size of the workseg area. If the parameter is omitted, the size is by default 20. The maximum value is 128.

Description

Specifies the space reserved in saddr memory for the .wrkseg section, which is used as the register variable work area.

Note

There is an overhead in saving and restoring the work area at each function entry and exit, unless the modifier __no_save is used with the function.

See also

Short address working area and .wrkseg.

Caution

Project>Options>C/C++ Compiler>Optimizations>Short address work area.