Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑endian

In this section:
Syntax

‑‑endian={big|b|little|l}

Parameters

big, b

Specifies big-endian as the default byte order. (This byte order cannot be used in 64-bit mode.)

little, l (default)

Specifies little-endian as the default byte order.

Description

Use this option to specify the byte order of the generated code and data. By default, the compiler generates code in little-endian byte order.In 64-bit mode, this is the only byte order you can specify.

See also

Byte order (32-bit mode only).

Caution

Project>Options>General Options>32-bit>Byte order