16.98 MOVK

Move wide with keep.

Syntax

MOVK Wd, #imm{, LSL #shift} ; 32-bit

MOVK Xd, #imm{, LSL #shift} ; 64-bit

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
shift

Depends on the instruction variant:

32-bit general registers
Is the amount by which to shift the immediate left, either 0 (the default) or 16.
64-bit general registers
Is the amount by which to shift the immediate left, either 0 (the default), 16, 32 or 48.
Xd
Is the 64-bit name of the general-purpose destination register.
imm
Is the 16-bit unsigned immediate, in the range 0 to 65535.

Operation

Move wide with keep moves an optionally-shifted 16-bit immediate value into a register, keeping other bits unchanged.

Rd<shift+15:shift> = imm16, where R is either W or X.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.