You copied the Doc URL to your clipboard.

MSUB

Multiply-Subtract.

This instruction is used by the alias MNEG.

Syntax

MSUB Wd, Wn, Wm, Wa ; 32-bit

MSUB Xd, Xn, Xm, Xa ; 64-bit

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
Wn
Is the 32-bit name of the first general-purpose source register holding the multiplicand.
Wm
Is the 32-bit name of the second general-purpose source register holding the multiplier.
Wa
Is the 32-bit name of the third general-purpose source register holding the minuend.
Xd
Is the 64-bit name of the general-purpose destination register.
Xn
Is the 64-bit name of the first general-purpose source register holding the multiplicand.
Xm
Is the 64-bit name of the second general-purpose source register holding the multiplier.
Xa
Is the 64-bit name of the third general-purpose source register holding the minuend.

Operation

Multiply-Subtract multiplies two register values, subtracts the product from a third register value, and writes the result to the destination register.

Rd = Ra - Rn * Rm, where R is either W or X.

Was this page helpful? Yes No