Skip to main content

IAR Embedded Workbench for RL78 5.20

--code_model

In this section:
Syntax
--code_model={near|n|far|f}
Parameters

near (default)

Function calls reach the first 64 Kbytes of memory.

far

Function calls reach the entire 1 Mbyte memory.

Description

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

See also

Code models and memory attributes for function storage.

Caution

Project>Options>General Options>Target>Code model