Skip to main content

IAR Embedded Workbench for RL78 5.20

Summary of extended keywords

In this section:

This table summarizes the extended keywords:

Extended keyword

Description

__callt

Controls the storage of functions

__far

Controls the storage of data objects

__far_func

Controls the storage of functions

__huge

Controls the storage of data objects

__interrupt

Specifies interrupt functions

__intrinsic

Reserved for compiler internal use only

__monitor

Specifies atomic execution of a function

__near

Controls the storage of data objects

__near_func

Controls the storage of functions

__no_alloc, __no_alloc16

Makes a constant available in the execution file

__no_alloc_str, __no_alloc_str16

Makes a string literal available in the execution file

__no_bit_access

Inhibits the use of bit instructions when accessing individual bits of the object

__no_init

Places a data object in the linker section .noinit

__no_save

Specifies a function to not save and restore the workseg area that it has used

__noreturn

Informs the compiler that the function will not return

__packed

Decreases data type alignment to 1

__root

Ensures that a function or variable is included in the object code even if unused

__ro_placement

Places const volatile data in read-only memory.

__saddr

Controls the storage of data objects

__sfr

Controls the storage of data objects

__v1_call

Specifies the V1 calling convention

__v2_call

Specifies the V2 calling convention

__weak

Declares a symbol to be externally weakly linked

Table 80. Extended keywords summary