Impyhluu, Integer multiply upper, Example 2 – Freescale Semiconductor StarCore SC140 User Manual
Page 505: Operation assembler syntax

IMPYHLUU
SC140 DSP Core Reference Manual
A-191
IMPYHLUU
Integer Multiply Upper
IMPYHLUU
Unsigned By Lower Unsigned
(DALU)
Description
Status and Conditions that Affect Instruction
None.
Status and Conditions Changed by Instruction
Example 1
impyhluu d4,d3,d0
Example 2
impyhluu d4,d3,d0
Operation
Assembler Syntax
Da.H * Db.L
→ Dn
IMPYHLUU Da,Db,Dn
IMPYHLUU Da,Db,Dn
Performs an unsigned integer multiplication on the 16-bit HP of one source data register (Da) and the
16-bit LP of another source data register (Db). It then stores the zero-extended 32-bit result in a destination
data register (Dn).
Register Address
Bit Name
Description
Ln
L
Clears the Ln bit in the destination register.
Register/Memory Address
Before
After
D3
$00 0002 FFFF
D4
$FF FFFF FFFE
L0:D0
$0:$00 FFFE 0001
Register/Memory Address
Before
After
D3
$00 0000 FFFF
D4
$FF FFFF FFFE
L0:D0
$0:$00 FFFE 0001