Texas Instruments TMS320C2x User Manual page 155

Hide thumbs Also See for TMS320C2x:
Table of Contents

Advertisement

ADDS
Add to Accumulator With Sign-Extension Suppressed
Syntax
Direct:
Indirect:
Operands
0
0
Execution
(PC) + 1
(ACC) + (dma)
(dma) is a 16-bit unsigned number.
Affects OV; affected by OVM.
Affects C.
Not affected by SXM.
Encoding
Direct:
Indirect:
Description
The contents of the specified data memory location are added with sign-exten-
sion suppressed. The data is treated as a 16-bit unsigned number, regardless
of SXM. The accumulator behaves as a signed number. Note that ADDS pro-
duces the same results as an ADD instruction with SXM = 0 and a shift count
of 0.
Words
1
Cycles
4-32
[ label ] ADDS dma
[ label ]
ADDS
dma 127
next ARP
7
PC
ACC
15
14
13
12
11
10
0
1
0
0
1
0
0
1
0
0
1
0
Cycle Timings for a Single Instruction
PI/DI
PI/DE
1
2+d
Cycle Timings for a Repeat Execution
n
1+n+nd
{ind}[, next ARP ]
9
8
7
6
5
0
1
0
Data Memory Address
0
1
1
See Section 4.1
PE/DI
PE/DE
PR/DI
1+p
2+d+p
n+p
1+n+nd+p
Assembly Language Instructions
4
3
2
1
0
PR/DE
1
2+d
n
1+n+nd

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents