Texas Instruments TMS320C28x Reference Manual page 183

Dsp cpu and instruction set
Table of Contents

Advertisement

ADD ACC,loc16 << #0..16
Example
; Calculate signed value: ACC = VarA << 10 + VarB << 6;
SETC SXM
MOV
ADD
6-26
ACC,@VarA << #10
ACC,@VarB << #6
; Turn sign extension mode on
; Load ACC with VarA left shifted by 10
; Add VarB left shifted by 6 to ACC

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF