Skip to main content

IAR Embedded Workbench for Arm 10.10.x

‑‑use_mov32

In this section:
Syntax
--use_mov32
Description

Use this option to generate MOV32 instructions. This is a pseudo-instruction that represents a pair of MOVW and MOVT instructions. When this option is used, the compiler will—if possible—not generate an LDR instruction to load a 32-bit constant value.

Note that this option might not have effect depending on the optimization level and other options you specify.

See also

‑‑no_literal_pool

Caution

Project>Options>C/C++ Compiler>Extra Options