Skip to main content

IAR Embedded Workbench for Arm 9.70.x

MOVL (64-bit mode)

In this section:
Syntax
MOVL register,#expression
Parameters

register

The register to load, X0X30 or W0W30.

expression

Any 32-bit or 64-bit expression. A 64-bit expression can be loaded into X0X30 and a 32-bit expression can be loaded into W0W30.

Description

Similar to the LDR pseudo-instruction, but will load the constant by generating a pair of a MOV instruction and a MOVK instruction (for a 32-bit expression), or a MOV instruction and three MOVK instructions (for a 64-bit expression). Unresolved expressions are not supported.