3
3-77 M32R-FPU Software Manual (Rev.1.01)
MULWLOMULWLO
DSP fucntion instruction
Multiply
word and low-order halfword
[Mnemonic]
MULWLO Rsrc1,Rsrc2
[Function]
Multiply
accumulator = ( ( signed ) Rsrc1 * ( signed short ) Rsrc2 );
[Description]
MULWLO multiplies the 32 bits of Rsrc1 and the low-order 16 bits of Rsrc2, and stores the
result in the accumulator.
The LSB of the multiplication result is aligned with the LSB of the accumulator, and the portion
corresponding to bits 0 through 15 of the accumulator is sign extended. The 32 bits of Rsrc1 and
low-order 16 bits of Rsrc2 are treated as signed values.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
Rsrc1
Rsrc2
x
0151631
0 1516 3132 4748 63
Value in accumulator after the
execution of the MULWLO instruction
Sign extension
low-order 16 bits
32 bits
src10011 MULWLO Rsrc1,Rsrc2src20011
INSTRUCTIONS
3.2 Instruction description