EasyManuals Logo

Texas Instruments TMS320C28x User Manual

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #465 background imageLoading...
Page #465 background image
QMPYUL P,XT,loc32
6-308
QMPYUL P,XT,loc32 Unsigned 32 X 32-bit Multiply (Upper Half)
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
QMPYUL P,XT,loc32 0101 0110 0100 0111
0000 0000 LLLL LLLL
1 1
Operands P Product register
XT Multiplicand register
loc32 Addressing mode (see Chapter 5)
Description Multiply the unsigned 32-bit content of the XT register by the unsigned 32-bit
content of the location pointed to by the “loc32” addressing mode and store the
upper 32bits of the 64-bit result in the P register:
P = (unsigned XT * unsigned [loc32]) >> 32;
Flags and
Modes
None
Repeat This instruction is not repeatable. If this instruction follows the RPT instruction,
it resets the repeat counter (RPTC) and executes only once.
Example
; Calculate unsigned result: Y64 = M32*X32 + B64
MOVL XT,@M32 ; XT = M32
IMPYL P,XT,@X32 ; P = low 32−bits of (M32*X32)
MOVL ACC,@B64+2 ; ACC = high 32−bits of B64
ADDUL P,@B64+0 ; P = P + low 32−bits of B64
MOVL @Y64+0,P ; Store low 32-bit result into Y64
QMPYUL P,XT,@X32 ; P = high 32−bits of (M32*X32)
ADDCL ACC,@P ; ACC = ACC + P + carry
MOVL @Y64+2,ACC ; Store high 32-bit result into Y64

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals