■
Outline of operation
● This instruction multiplies the values [S1] and [S2] according to the operation unit [i].
● The calculation result is stored in the address starting with [D].
[S1] × [S2] → ([D] to [D]+1)
● The size of the area in which the operation result is stored varies depending on the operation
unit.
Operation
unit
Calculation target data Calculation result
US, SS 16-bit × 16-bit 32 bit
Stored in a two-word area that starts
with [D]
UL, SL 32-bit × 32-bit 64 bit
Stored in a four-word area that starts
with [D]
SF 32-bit × 32-bit 32 bit
Stored in a two-word area that starts
with [D]
DF 64-bit × 64-bit 64 bit
Stored in a four-word area that starts
with [D]
■
Processing
Example 1) Operation unit: 16 bits (US, SS)
Example 2) Operation unit: 32 bits (UL, SL)
Example 3) Operation unit: 32 bits (SF)
6.3 MUL (Multiplication)
WUME-FP7CPUPGR-12 6-7