16.14 AND (immediate)

Bitwise AND (immediate).

Syntax

AND Wd|WSP, Wn, #imm ; 32-bit

AND Xd|SP, Xn, #imm ; 64-bit

Where:

Wd|WSP
Is the 32-bit name of the destination general-purpose register or stack pointer.
Wn
Is the 32-bit name of the general-purpose source register.
imm
The bitmask immediate.
Xd|SP
Is the 64-bit name of the destination general-purpose register or stack pointer.
Xn
Is the 64-bit name of the general-purpose source register.

Operation

Bitwise AND (immediate) performs a bitwise AND of a register value and an immediate value, and writes the result to the destination register.

Rd = Rn AND imm, 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.