You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : AND (immediate)

AND (immediate)

Bitwise AND (immediate).

Syntax

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

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

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.

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.

imm

Is the bitmask immediate.

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.

Was this page helpful? Yes No