Skip to content

MSUB

Operation

Subtracts the low product of two sources from the destination.

Assembler Syntax

MSUB.{B|W|L|Q}(z) Rn(l), Rn(r), Rn(d)

Privilege

Unprivileged

Required CPUID flags

MSUB

Repeat eligibility

REP eligible; REPcc observes dst

Multiplies the selected-width source values, subtracts the low product from the old destination value, and writes the low selected-width result. The instruction does not update flags.

2.75in

Encodings

MSUB.{B|W|L|Q}(z) Rn(l), Rn(r), Rn(d)

Format: Instruction format for MSUB.{B|W|L|Q}(z) Rn(l), Rn(r), Rn(d)

Format: Instruction format for MSUB.{B|W|L|Q}(z) Rn(l), Rn(r), Rn(d)