Skip to main content

IAR Embedded Workbench for RX 5.20

Summary of extended keywords

In this section:

This table summarizes the extended keywords:

Extended keyword

Description

__absolute

Makes references to the object use absolute addressing

__data16

Controls the storage of data objects

__data24

Controls the storage of data objects

__data32

Controls the storage of data objects

__fast_interrupt

Supports fast interrupt functions

__interrupt

Specifies interrupt functions

__intrinsic

Reserved for compiler internal use only

__monitor

Specifies atomic execution of a function

__nested

Allows an interrupt function to be nested, that is, interruptible by another interrupt

__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_init

Places a data object in the linker section .noinit

__no_scratch

Preserves scratch registers

__noreturn

Informs the compiler that the function will not return

__packed

Decreases data type alignment to 1

__ramfunc

Makes a function execute in RAM

__root

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

__ro_placement

Places constvolatile data in read-only memory.

__sbrel

Controls the storage of data objects

__sfr

Controls the storage of data objects

__task

Relaxes the rules for preserving registers

__weak

Declares a symbol to be externally weakly linked

Table 80. Extended keywords summary