Texas Instruments TMS320C28x Reference Manual page 396

Dsp cpu and instruction set
Table of Contents

Advertisement

MPYU P,T,loc16
SYNTAX OPTIONS
MPYU P,T,loc16
Operands
P
T
loc16
Description
Flags and
Modes
Repeat
Example
; Calculate unsigned value: Y32 = X16 * M16;
MOV
MPYU
MOVL
0011 0111 LLLL LLLL
Product register
Multiplicand register
Addressing mode (see Chapter 5)
Multiply the signed 16-bit content of the T register by the signed 16-bit
contents of the location pointed to by the "loc16" addressing mode and store
the 32-bit result in the P register:
P = unsigned T * unsigned [loc16];
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
T,@X16
; T = X16
P,T,@M16
; P = T * M16
@Y,P
; Store result into Y32
Unsigned 16 X 16 Multiply
OPCODE
OBJMODE
MPYU P,T,loc16
RPT
CYC
X
1
6-239

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