Skip to main content

IAR Embedded Workbench for RL78 5.20

--near_const_location

In this section:
Syntax
--near_const_location {ram|rom0|rom1}
Parameters

ram

__near-declared constants and strings are located in RAM, in the memory range 0xF00000xFFFFF.

rom0

__near-declared constants and strings are located in ROM, in the memory range 0x000000x0FFFF. They are mirrored by hardware to RAM, in the range 0xF00000xFFFFF.

rom1

__near-declared constants and strings are located in ROM, in the memory range 0x100000x1FFFF. They are mirrored by hardware to RAM, in the range 0xF00000xFFFFF.

For use with

All C-SPY drivers.

Description

Use this option to specify the location for __near-declared constants and strings.

Caution

Project>Options>General Options>Target>Near constant location