Skip to main content

IAR Embedded Workbench for RX 5.20

--int

In this section:
Syntax
--int={16|32}
Parameters

16

The size of the data type int is 16 bits. This might be useful if you are migrating code written for another microcontroller than RX.

32 (default)

The size of the data type int is 32 bits. This is the native int size for the RX microcontroller.

Description

Use this option to select whether the compiler uses 16 or 32 bits to represent the int data type. By default, 32 bits are used. Selecting 16 bits results in larger code size.

See also

Basic data types—integer types.

Caution

Project>Options>General Options>Target>Size of type 'int'