Skip to main content

IAR Embedded Workbench for RL78 5.20

--data_model

In this section:
Syntax
--data_model={near|n|far|f|huge|h}
Parameters

near (default)

Data is by default placed in the highest 64 Kbytes of memory.

far

Data is by default placed in the entire 1 Mbyte of memory, but with a restriction on object size.

huge

Data is by default placed in the entire 1 Mbyte of memory.

Description

Use this option to select the data model, which means a default placement of data objects. If you do not select a data model, the compiler uses the default data model. Note that all modules of your application must use the same data model.

See also

Data models.

Caution

Project>Options>General Options>Target>Data model