You copied the Doc URL to your clipboard.

MVN

Bitwise NOT.

This instruction is an alias of ORN (shifted register).

Syntax

MVN Wd, Wm{, shift #amount} ; 32-bit general registers

Equivalent to ORN Wd, WZR, Wm{, shift #amount}

MVN Xd, Xm{, shift #amount} ; 64-bit general registers

Equivalent to ORN Xd, XZR, Xm{, shift #amount}

Where:

Wd

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

Wm

Is the 32-bit name of the general-purpose source register.

amount

The value depends on the instruction variant:

32-bit general registers

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

64-bit general registers

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

Xd

Is the 64-bit name of the general-purpose destination register.

Xm

Is the 64-bit name of the general-purpose source register.

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.

Usage

Bitwise NOT writes the bitwise inverse of a register value to the destination register.

Was this page helpful? Yes No