Table of Contents
Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->MULS
MULS Signed Multiply
Destination x Source -> Destination
|Assembler Syntax:||MULS.W <ea>,Dn||16 x 16 -> 32|
|MULS.L <ea>,Dn ||32 x 32 -> 32|
Size: Word, Long
Multiplies two signed operands yielding a signed results. In the word form, the multiplier and multiplicand are both word operands, and the result is a long-word operand. A register operand is the low-order word; the upper word of the register is ignored. All 32 bits of the product are saved in the destination data register.
In the long form, the multiplier and multiplicand are both long-word operands, and the result is a long word.
N Set if result negative, else cleared
Z Set if result zero, else cleared
V Always cleared
C Always cleared
X Not affected
|Allowable Addressing Modes||