Texas Instruments TMS320C28x Reference Manual page 266

Dsp cpu and instruction set
Table of Contents

Advertisement

IMPYXUL P,XT,loc32
SYNTAX OPTIONS
IMPYXUL P,XT,loc32
Operands
P
XT
loc32
Description
Flags and
PM
Modes
Repeat
0101 0110 0110 0101
0000 0000 LLLL LLLL
Product register
Multiplicand register
Addressing mode (see Chapter 5)
Multiply the signed 32-bit content of the XT register by the unsigned 32-bit
content of the location pointed to by the "loc32" addressing mode. The
product shift mode (PM) then determines which part of the lower 38 bits of
the 64-bit result are stored in the P register:
temp(37:0) = lower_38 bits(signed XT * unsigned [loc32]);
if( PM = +4 shift )
P(31:4) = temp(27:0), P(3:0) = 0;
if( PM = +1 shift )
P(31:1) = temp(30:0), P(0)
if( PM =
0 shift )
P(31:0) = temp(31:0);
if( PM = −1 shift )
P(31:0) = temp(32:1);
if( PM = −2 shift )
P(31:0) = temp(33:2);
if( PM = −3 shift )
P(31:0) = temp(34:3);
if( PM = −4 shift )
P(31:0) = temp(35:4);
if( PM = −5 shift )
P(31:0) = temp(36:5);
if( PM = −6 shift )
P(31:0) = temp(37:6);
The value in the PM bits sets the shift mode that determines which portion of
the lower 38 bits of the 64-bit results are stored in the P register.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Signed 32 X Unsigned 32-Bit Multiply (Lower Half)
OPCODE
= 0;
IMPYXUL P,XT,loc32
OBJMODE
RPT
CYC
1
1
6-109

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF