Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Module control directives

In this section:
Syntax

AAPCS [ modifier [...]]

END

PRESERVE8

REQUIRE8

RTMODEL key , value

Parameters

key

A text string specifying the key.

modifier

An AAPCS extension—possible values are INTERWORK, VFP, VFP_COMPATIBLE, ROPI, RWPI, RWPI_COMPATIBLE. Modifiers can be combined to specify AAPCS variants.

value

A text string specifying the value.

Description

Module control directives are used for marking the beginning and end of source program modules, and for assigning names and types to them. For information about the restrictions that apply when using a directive in an expression, see Expression restrictions.

Directive

Description

Expression restrictions

END

Ends the assembly of the module in a file.

Locally defined symbols plus offset or integer constants

RTMODEL

Declares runtime model attributes.

Not applicable

Table 146. Module control directives