Skip to main content

IAR Embedded Workbench for Arm 9.70.x

MOV32 (THUMB)

In this section:
Syntax
MOV32{condition} register,expression
Parameters

condition

An optional condition code if the instruction is placed after an IT instruction.

register

The register to load.

expression

Any 32-bit expression.

Description

Similar to the LDR (THUMB) instruction, but will load the constant by generating a pair of the MOV (MOVW) and the MOVT instructions.

This pseudo-instruction always generates two 32-bit instructions. It is only available in a core supporting the Thumb-2 instruction set.