You copied the Doc URL to your clipboard.

AND (shifted register)

Bitwise AND (shifted register).

Syntax

AND  Wd, Wn, Wm{, shift #amount}    ; 32-bit general registers
AND  Xd, Xn, Xm{, shift #amount}    ; 64-bit general registers

Where:

Wd

Is the 32-bit name of the general-purpose destination register, in the range 0 to 31.

Wn

Is the 32-bit name of the first general-purpose source register, in the range 0 to 31.

Wm

Is the 32-bit name of the second general-purpose source register, in the range 0 to 31.

amount

The value depends on the instruction variant:

32-bit general registers

Is the shift amount, in the range 0 to 31, defaulting to 0.

64-bit general registers

Is the shift amount, in the range 0 to 63, defaulting to 0.

Xd

Is the 64-bit name of the general-purpose destination register, in the range 0 to 31.

Xn

Is the 64-bit name of the first general-purpose source register, in the range 0 to 31.

Xm

Is the 64-bit name of the second general-purpose source register, in the range 0 to 31.

shift

Is the optional shift to be applied to the final source, defaulting to LSL, and can be one of LSL, LSR, ASR, or ROR.

Was this page helpful? Yes No