MPYUU

 

 

 

 

MPYUU

Fractional Multiply

MPYUU

 

 

Unsigned By Unsigned (DALU)

 

Operation

Assembler Syntax

 

Dc.L * Dd.L → Dn

MPYUU Dc,Dd,Dn

 

Description

 

 

MPYUU Dc,Dd,Dn

 

 

Performs unsigned fractional multiplication between the unsigned 16-bit LP of the first register (Dc) of a data register pair with the unsigned 16-bit LP of the second register (Dd). It then stores the sign-extended 32-bit product in a destination data register (Dn).

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination registers.

Example

mpyuu d4,d5,d6

Register/Memory Address

D4

D5

L6:D6

Before

$00 4000 2000

$FF E000 4000

After

$0:$00 1000 0000

0.010 $2000 (2–2) x 0.100$4000 (2–1) 0.001 $1000 (2–3)

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

MPYUU Dc,Dd,Dn

1

1

1

Note: ** indicates serial grouping encoding.

Opcode

158 70

0 * 1 0 1 1 F F F 1 1 0 1 1 e e

SC140 DSP Core Reference Manual

A-329

Page 643
Image 643
Freescale Semiconductor SC140 specifications Mpyuu d4,d5,d6, Dc.L * Dd.L → Dn, Mpyuu Dc,Dd,Dn