Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Alignment on the RH850 microcontroller

In this section:

The RH850 microcontroller can access 4-byte objects using a single assembler instruction only when the object is stored at an address divisible by 4. For the same reason, 2-byte objects must be stored at addresses divisible by 2.

To enable 8-byte alignment for the data types long long and double, use the compiler option --enable_8_byte_alignment.