2.2.38 (2) MULXS (W)
MULXS (MULtiply eXtend as Signed)
Multiply Signed
Operation
ERd
×
Rs
→
ERd
Assembly-Language Format
MULXS.W
Rs, ERd
Operand Size
Word
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the result is negative; otherwise
cleared to 0.
Z:
Set to 1 if the result is zero; otherwise
cleared to 0.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
—
—
Description
This instruction multiplies the lower 16 bits of a 32-bit register ERd (destination operand) by the
contents of a 16-bit register Rs (source operand) as signed data and stores the result in the 32-bit
register ERd. Rs can be the upper part (Ed) or lower part (Rd) of ERd. The operation performed is
16-bit
×
16-bit
→
32-bit signed multiplication.
Available Registers
ERd: ER0 to ER7
Rs:
R0 to R7, E0 to E7
Operand Format and Number of States Required for Execution
Notes
ERd
Rs
ERd
Don’t care Multiplicand
×
Multiplier
→
Product
16 bits
16 bits
32 bits
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
MULXS.W
Rs, ERd
0
1
C
0
5
2
rs
0 erd
24
No. of
States
Addressing
Mode
Mnemonic
Operands
129