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 #485 background imageLoading...
Page #485 background image
SPM shift
6-328
Example
; Calculate: Y32 = M16*X16 >> 4 + B32
CLRC AMODE ; Make sure AMODE = 0
SPM −4 ; Set product shift mode to “>> 4”
MOV T,@X16 ; T = X16
MPY P,XT,@M16 ; P = X16*M16
MOVL ACC,@B32 ; ACC = B32
ADDL ACC,P << PM ; ACC = ACC + (P >> 4)
MOVL @Y32,ACC ; Store result into Y32

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